Handle multi-word regsiters in REG_CFA_RESTORE notes

Bernd Schmidt bernds@codesourcery.com
Thu Sep 15 02:42:00 GMT 2011


While testing the altest iteration of shrink-wrapping on mips-elf, a new
failure showed up in gcc.dg/pr43139.c. When restoring floating-point
registers, we attach REG_CFA_RESTORE notes for DFmode registers, but the
dwarf2cfi code only records a single regno for such a multiword hard reg.

Fixed with this patch, tested with shrink-wrapping on mips-elf (default
multilib plus two with -mips16). Ok?


Bernd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cfa-multiword.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110915/0ef72e58/attachment.ksh>


More information about the Gcc-patches mailing list