This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53974] [4.8 Regression] Nearly all tests fail with ADA.CALENDAR.TIME_ERROR : a-calend.adb:603
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jul 2012 12:16:37 +0000
- Subject: [Bug target/53974] [4.8 Regression] Nearly all tests fail with ADA.CALENDAR.TIME_ERROR : a-calend.adb:603
- Auto-submitted: auto-generated
- References: <bug-53974-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53974
--- Comment #4 from dave.anglin at bell dot net 2012-07-20 12:16:37 UTC ---
On 18-Jul-12, at 6:15 AM, ebotcazou at gcc dot gnu.org wrote:
> I have seen the same error on SPARC. The fix is
>
> * config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
>
> so you might want to try something similar on line 4923 of pa.md.
I don't think there is an earlyclobber problem in the insn at 4923.
I reviewed pa.md for missing earlyclobbers and found a few. Some
are likely not problems because of alternative ordering. In any case,
fixing them didn't change the situation.
I presume the problem was introduced with this change:
2012-05-15 Hristian Kirtchev <kirtchev@adacore.com>
* a-calend.adb (Day_Of_Week): The routine once again treats
The Month value extracted by __gnat_split is wrong and it fails this
comparison:
0x000105bc <+68>: ldo -1(r21),r22
0x000105c0 <+72>: cmpib,<< b,r22,0x10618 <ada__calendar__split+160>
(gdb) p $r22
$15 = 12
Have to run,
Dave
--
John David Anglin dave.anglin@bell.net