[Bug tree-optimization/34385] new miscompilation after PR34148 fix

mueller at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 7 22:47:00 GMT 2007



------- Comment #2 from mueller at gcc dot gnu dot org  2007-12-07 22:47 -------
diff between broken -fdump-tree-optimized and working one is really small:

--- out.cc.optimized.broken     2007-12-07 23:35:37.460943000 +0100
+++ out.cc.optimized.works      2007-12-07 23:35:53.641747000 +0100
@@ -40,6 +40,7 @@
   D.1626 = (struct QHashNode *) D.1625;
   D.1626->key.d = 0B;
   D.1626->key = *str;
+  D.1628.i = (struct Node *) D.1626;
   return &((struct QHashNode *) ((const struct const_iterator *)
&D.1628)->i)->key;

 }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34385



More information about the Gcc-bugs mailing list