From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16983 invoked by alias); 19 Dec 2002 23:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16964 invoked by uid 71); 19 Dec 2002 23:26:00 -0000 Date: Thu, 19 Dec 2002 15:26:00 -0000 Message-ID: <20021219232600.16962.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Janis Johnson Subject: Re: optimization/4382: [3.2/3.3 regression] __builtin_{set,long}jmp with -O3 can crash the compiler Reply-To: Janis Johnson X-SW-Source: 2002-12/txt/msg01049.txt.bz2 List-Id: The following reply was made to PR optimization/4382; it has been noted by GNATS. From: Janis Johnson 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 * 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