This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]