From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11867 invoked by alias); 20 Jun 2003 19:12:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6020 invoked by uid 48); 20 Jun 2003 19:09:22 -0000 Date: Fri, 20 Jun 2003 19:12:00 -0000 Message-ID: <20030620190922.6019.qmail@sources.redhat.com> From: "pinskia at physics dot uc dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030620184516.11270.reichelt@gcc.gnu.org> References: <20030620184516.11270.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/11270] [tree-ssa] Strange warning with -Wunreachable-code. X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg02218.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11270 ------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-20 19:09 ------- Created an attachment (id=4258) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4258&action=view) rtl on powerpc-apple-darwin6.6 The warning is in a difference place for powerpc-apple-darwin6.6: pr11270.c: In function `foo': pr11270.c:5: warning: will never be executed The rtl loos like (on powerpc-apple-darwin6.6 with tree-ssa branch on 20030617): r118 = i r119 = r118 == 0 if (r119==0) jmp label_ref10; jmp label_ref16 label_ref10: jmp label_ref21 label_ref16: label_ref21: Looks like a back-end bug rather than one caused by the trees.