[SPARC] Fix miscompilation of ada/g-calend.adb at -O2

2012-07-19 Thread Eric Botcazou
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 ebotca...@adacore.com *

Re: [SPARC] Fix miscompilation of ada/g-calend.adb at -O2

2012-07-19 Thread David Miller
From: Eric Botcazou ebotca...@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