This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4382: [3.2/3.3 regression] __builtin_{set,long}jmp with -O3 can crash the compiler
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, malekith at pld dot org dot pl
- Date: Thu, 19 Dec 2002 15:26:15 -0800
- Subject: Re: optimization/4382: [3.2/3.3 regression] __builtin_{set,long}jmp with -O3 can crash the compiler
- Organization: IBM
- Reply-to: janis187 at us dot ibm dot com
The regression reported in PR optimization/4382 showed up
starting with this patch:
2000-12-20 Richard Henderson <rth@redhat.com>
* rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.c (reg_note_name): Update.
* stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
* builtins.c (expand_builtin_longjmp): Likewise.
* flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
not emit an edge.
I used the original, larger test case provided by the
submitter.
Output from the compiler with the current mainline is the
same as that reported by Wolfgang a couple of weeks ago.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4382