This is the mail archive of the gcc-patches@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]

[dataflow]: PATCH COMMITTED to fix setjmp warnings.


2006-12-28  Kenneth Zadeck <zadeck@naturalbridge.com>
    * local_alloc.c (rest_of_handle_local_alloc): changed
    extra_warnings to warn_clobbered.

This was something missed in dannys last merge.  We are now back to
bootstrapping with no regressions
on linux x86-64, x86-32, ppc, and ia-64.

Kenny

Index: local-alloc.c
===================================================================
--- local-alloc.c	(revision 120221)
+++ local-alloc.c	(working copy)
@@ -2504,7 +2504,7 @@ rest_of_handle_local_alloc (void)
   /* If we are not optimizing, then this is the only place before
      register allocation where dataflow is done.  And that is needed
      to generate these warnings.  */
-  if (extra_warnings)
+  if (warn_clobbered)
     generate_setjmp_warnings ();
 
   /* Determine if the current function is a leaf before running reload

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