This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 19 Dec 2002 23:26:00 -0000
- Subject: Re: optimization/4382: [3.2/3.3 regression] __builtin_{set,long}jmp with -O3 can crash the compiler
- Reply-to: Janis Johnson <janis187 at us dot ibm dot com>
The following reply was made to PR optimization/4382; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org, malekith@pld.org.pl
Cc:
Subject: Re: optimization/4382: [3.2/3.3 regression] __builtin_{set,long}jmp with
-O3 can crash the compiler
Date: Thu, 19 Dec 2002 15:26:15 -0800
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