[SPARC] Fix miscompilation of ada/g-calend.adb at -O2
Eric Botcazou
ebotcazou@adacore.com
Thu Jul 19 21:56:00 GMT 2012
There is now a tail call in Time_Of with lot of 64-bit quantities around,
including arguments, and this exposes an oversight in adddi3_insn_sp32.
Bootstrapped/regtested on SPARC/Solaris, applied on mainline and 4.7 branch.
2012-07-19 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120719/f66145d0/attachment.bin>
More information about the Gcc-patches
mailing list