Skip to content

Conversation

@GGAutomaton
Copy link

Initializes the Tree::_size member to 0.

This fixes a bug where an uninitialized _size would cause size checks in connectInTrees and connectOutTrees to fail, preventing the trees from connecting.

void pdg::ProgramDependencyGraph::connectInTrees(Tree *src_tree, Tree *dstTree, EdgeType edgeTy)
{
if (src_tree->size() != dstTree->size())
return;

Note: This bug likely affects other active branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant