This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11270] [tree-ssa] Strange warning with -Wunreachable-code.
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2003 19:09:22 -0000
- Subject: [Bug c/11270] [tree-ssa] Strange warning with -Wunreachable-code.
- References: <20030620184516.11270.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.