PATCH for middle-end/10336

Jason Merrill
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

2003-04-14  Jason Merrill  <>

	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: <>

More information about the Gcc-patches mailing list