]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted constraints...
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 21 Dec 2006 17:32:01 +0000 (17:32 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Thu, 21 Dec 2006 17:32:01 +0000 (17:32 +0000)
2006-12-21  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-structalias.c (build_constraint_graph): Insert complex
offsetted constraints into rhsvar, not lhsvar.

From-SVN: r120114

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index 8d85e15725619f2e4afedea073b061213b9c463c..e450bd7ba1dbc6cfe3b62750a2963968655cca16 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-21  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-structalias.c (build_constraint_graph): Insert complex
+       offsetted constraints into rhsvar, not lhsvar.
+
 2006-12-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/30262
index 068972fe2364810cbde5caef0ff9e0c5544c2557..5603b3ff87dcd29516ebb95ef498bd2762aafc73 100644 (file)
@@ -911,7 +911,7 @@ build_constraint_graph (void)
          if (lhsvar != rhsvar || rhs.offset != 0 || lhs.offset != 0)
            {
              if (rhs.offset != 0 || lhs.offset != 0)
-               insert_into_complex (lhsvar, c);
+               insert_into_complex (rhsvar, c);
              else
                add_graph_edge (graph, lhs.var, rhs.var);
            }