This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11270] [tree-ssa] Strange warning with -Wunreachable-code.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]