This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[dataflow]: PATCH COMMITTED to fix setjmp warnings.
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Seongbae Park <seongbae dot park at gmail dot com>, "Berlin, Daniel" <dberlin at dberlin dot org>
- Date: Thu, 28 Dec 2006 21:05:28 -0500
- Subject: [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