regrename creates invalid insn

Bernd Schmidt bernds@codesourcery.com
Wed Jul 11 21:31:00 GMT 2012


On 03/26/2012 06:03 PM, Andreas Schwab wrote:
> Bernd Schmidt <bernds@codesourcery.com> writes:
> 
>> Does 4.7 still have the failure at all?
> 
> Yes, see PR52573.

Well, I still think having both REG_DEAD and REG_UNUSED for the same reg
is bogus, but fixing that causes trouble in reg-stack. It seems the path
of least resistance is to just cope with the situation in regrename.

The following seems to cure the problem with a 4.7 m68k cross. Also
bootstrapped and tested with -frename-registers enabled at -O2 on
x86_64-linux. Ok everywhere?


Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deadunused.diff
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120711/dc9b2e6f/attachment.bin>


More information about the Gcc-patches mailing list