From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17822 invoked by alias); 7 Apr 2003 13:06: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 17804 invoked by uid 71); 7 Apr 2003 13:06:01 -0000 Date: Mon, 07 Apr 2003 13:06:00 -0000 Message-ID: <20030407130601.17803.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Steven Bosscher Subject: Re: c/10336: [3.4 regression] ICE with -Wunreachable-code Reply-To: Steven Bosscher X-SW-Source: 2003-04/txt/msg00257.txt.bz2 List-Id: The following reply was made to PR c/10336; it has been noted by GNATS. From: Steven Bosscher To: gcc-gnats@gcc.gnu.org, reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org Cc: Subject: Re: c/10336: [3.4 regression] ICE with -Wunreachable-code Date: Mon, 07 Apr 2003 15:00:08 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10336 Does this help? Index: jump.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/jump.c,v retrieving revision 1.221 diff -c -3 -p -r1.221 jump.c *** jump.c 4 Apr 2003 01:21:56 -0000 1.221 --- jump.c 7 Apr 2003 12:59:17 -0000 *************** never_reached_warning (avoided_insn, fin *** 1912,1918 **** /* Back up to the first of any NOTEs preceding avoided_insn; flow passes us the head of a block, a NOTE_INSN_BASIC_BLOCK, which often follows the line note. */ ! for (insn = PREV_INSN (avoided_insn); ; insn = PREV_INSN (insn)) if (GET_CODE (insn) != NOTE) { insn = NEXT_INSN (insn); --- 1912,1918 ---- /* Back up to the first of any NOTEs preceding avoided_insn; flow passes us the head of a block, a NOTE_INSN_BASIC_BLOCK, which often follows the line note. */ ! for (insn = PREV_INSN (avoided_insn); insn; insn = PREV_INSN (insn)) if (GET_CODE (insn) != NOTE) { insn = NEXT_INSN (insn);