[Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 15 07:59:00 GMT 2007
------- Comment #27 from rguenth at gcc dot gnu dot org 2007-05-15 08:59 -------
Yes, that's a (part of!) a diff of a -details dump with the following patch
Index: passes.c
===================================================================
--- passes.c (revision 124501)
+++ passes.c (working copy)
@@ -496,7 +496,9 @@ init_optimization_passes (void)
NEXT_PASS (pass_early_warn_uninitialized);
/* Initial scalar cleanups. */
+ NEXT_PASS (pass_may_alias);
NEXT_PASS (pass_ccp);
+ NEXT_PASS (pass_may_alias);
NEXT_PASS (pass_fre);
NEXT_PASS (pass_dce);
NEXT_PASS (pass_forwprop);
(so it's easy to reproduce the full dump)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252
More information about the Gcc-bugs
mailing list