This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/47590] var tracking produces wrong debug in code where optimization is turned off using pragma
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 27 Mar 2011 13:01:38 +0000
- Subject: [Bug debug/47590] var tracking produces wrong debug in code where optimization is turned off using pragma
- Auto-submitted: auto-generated
- References: <bug-47590-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47590
--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-03-27 13:01:26 UTC ---
Created attachment 23780
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23780
Patch that fixes the bug on all affected targets
The introduction of option saving and restoring broke the special handling of
flag_var_tracking on the targets that delayed it. This patch fixes it.