PATCH for middle-end/10336
Jason Merrill
jason@redhat.com
Tue Apr 15 16:12:00 GMT 2003
My earlier patch assumed that there would always be some non-NOTE insn
preceding a dead block. Apparently this is not always true.
Booted and tested i686-pc-linux-gnu, applied 3.2, 3.3 and trunk. Test in
gcc.dg/Wunreachable-4.c.
2003-04-14 Jason Merrill <jason@redhat.com>
PR middle-end/10336, c++/10401
* jump.c (never_reached_warning): Also stop looking if we reach the
beginning of the function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 757 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030415/73e0b65f/attachment.bin>
More information about the Gcc-patches
mailing list