Fix PR debug/46375

Eric Botcazou ebotcazou@adacore.com
Fri Nov 12 10:21:00 GMT 2010


This is another -fcompare-debug failure.  Fixed by not marking the basic block 
dirty in remove_insn if the removed insn is a debug insn.

Bootstrapped/regtested on x86_64-suse-linux, applied on the mainline.


2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>

	PR debug/46375
	* emit-rtl.c (remove_insn): Do not mark BBs upon debug insns.


2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/pr46375.c: New test.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr46375.diff
Type: text/x-diff
Size: 388 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101112/d387451d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr46375.c
Type: text/x-csrc
Size: 276 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101112/d387451d/attachment-0001.bin>


More information about the Gcc-patches mailing list