../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg -g -O1 -fno-inline \ a-except.adb -o a-except.o
| 4.0.0 20050318 (prerelease) (arm-riscos-elf) Assert_Failure nlists.adb:296|
| Error detected at a-exexpr.adb:85:9
This seems to be a reoccurance of PR5677.
As I'm using a modified backend, I wanted to know whether other users are having this problem when building Ada for ARM targets.
The only patch I apply to Ada is below.
Any thoughts before I go barking up the wrong tree ?
Regards,
Nick.
diff -x '*.orig' -x '*.rej' -uprN /home/nick/riscos-aof/masters/gcc-4.0/gcc/ada/s-auxdec.ads gcc-4.0/gcc/ada/s-auxdec.ads
--- /home/nick/riscos-aof/masters/gcc-4.0/gcc/ada/s-auxdec.ads 2004-06-16 14:50:06.000000000 +0100
+++ gcc-4.0/gcc/ada/s-auxdec.ads 2005-03-18 11:30:24.000000000 +0000
@@ -283,7 +283,7 @@ pragma Elaborate_Body (Aux_DEC);
end record;
for Aligned_Word'Alignment use - Integer'Min (2, Standard'Maximum_Alignment); + Integer'Min (4, Standard'Maximum_Alignment);
procedure Clear_Interlocked (Bit : in out Boolean;