Ada ACATS Failures on SVN Trunk
Joel Sherrill
joel.sherrill@oarcorp.com
Fri Dec 14 22:24:00 GMT 2007
Laurent GUERBY wrote:
> On Fri, 2007-12-14 at 14:45 -0600, Joel Sherrill wrote:
>
>>> 34400 is about slow compile but not about wrong code so I doubt it's the
>>> issue. Could you send me privately the compressed log of the ACATS run?
>>>
>
>
>> Sure.
>>
>
>
>> >From the log it looks like the reason for most test FAIL is
>>
> because an expected exception raised in the test is not catched as it
> should by a local test exception handler and just propagates to the main
> handler which terminates execution. So what looks broken to me is
> exception propagation, that would explain good success in RTEMS/C
> testsuite which I assume is exception-free.
>
> Could you compile and run the following small program on your target:
>
> with Ada.Text_IO; use Ada.Text_IO;
> procedure P is
> begin
> begin
> raise Constraint_Error;
> exception
> when others =>
> Put_Line ("catch1");
> end;
> exception
> when others =>
> Put_Line ("catch2");
> end P;
>
> It should just print "catch1": if not we have a reduced testcase for the
> problem (open a bugzilla), otherwise ping me privately I'll send you
> small variations of this code until we get it.
>
>
psim-4.9 p.exe
raised CONSTRAINT_ERROR : p.adb:5 explicit raise
Looks like the reduced test case.
Wow! You are quick. :)
PR filed and you are cc'ed on it. I will verify this worked OK
on 4.2.2 but I appear to have removed that to get some disk
space back.
--joel
> Laurent
>
>
>
More information about the Gcc
mailing list