This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SPARC] Fix miscompilation of ada/g-calend.adb at -O2
- From: David Miller <davem at davemloft dot net>
- To: ebotcazou at adacore dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 15:01:46 -0700 (PDT)
- Subject: Re: [SPARC] Fix miscompilation of ada/g-calend.adb at -O2
- References: <201207192352.53500.ebotcazou@adacore.com>
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Thu, 19 Jul 2012 23:52:53 +0200
> 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.
Thanks for fixing this Eric.