This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Wrong code in gcc/ada/a-teioed.adb causing FAIL of ACATS cxf3a01 on mipsel and ia64
- From: Robert Dewar <dewar at adacore dot com>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Tue, 17 Feb 2009 16:05:25 -0500
- Subject: Re: [Ada] Wrong code in gcc/ada/a-teioed.adb causing FAIL of ACATS cxf3a01 on mipsel and ia64
- References: <1234904570.8927.32.camel@localhost>
Laurent GUERBY wrote:
Two obvious solutions: use Unsupress locally since there's already a others
handler or add explicit length checks.
analysis looks right, an explicit length check is more appropriate,
better to avoid the exception.
To reach quickly the interesting point under gdb:
break cxf3a01.adb:110
cond 1 i=25
run
step
If you share my analysis, what solution do you suggest?
Thanks in advance,
Laurent