------- Comment #11 from steven at gcc dot gnu dot org  2005-12-15 06:50 -------
If nobody is going to fix gcse2, the right thing to do is to not set
flag_gcse_after_reload for optimize >= 3 in opts.c:

Index: opts.c
===================================================================
--- opts.c      (revision 108560)
+++ opts.c      (working copy)
@@ -588,7 +588,6 @@ decode_options (unsigned int argc, const
     {
       flag_inline_functions = 1;
       flag_unswitch_loops = 1;
-      flag_gcse_after_reload = 1;
     }

   if (optimize < 2 || optimize_size)


Obviously it would be better to just fix the bug, but so far I, for one, can't
get a handle on it.


-- 


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

Reply via email to