Geert Bosch wrote:

On Mar 21, 2005, at 02:54, Nick Burrett wrote:

This seems to be a reoccurance of PR5677.


I'm sorry, but I can't see any way this is related, could you elaborate?

Sorry, I completely misread the PR. It is not related.

    for Aligned_Word'Alignment use
-     Integer'Min (2, Standard'Maximum_Alignment);
+     Integer'Min (4, Standard'Maximum_Alignment);


This patch is wrong, as it implicitly increases the size of Aligned_Word from
2 to 4 bytes: size is always a multiple of the alignment.

OK, but if I don't apply the patch, GNAT complains that the alignment should be 4, not 2 and compiling ceases.


However, it is really dubious you need to change this package, as it is only
used for DEC Ada compatibility on VMS systems.

OK, but all systems build it, as it is unconditionally defined in Makefile.rtl::GNATRTL_NONTASKING_OBJS


And here it exists in a i686-linux build:

[EMAIL PROTECTED] rts]$ ls -l s-aux*
lrwxrwxrwx 1 nick nick 50 Mar 18 12:51 s-auxdec.adb -> /home/nick/riscos-elf/gcc-4.0/gcc/ada/s-auxdec.adb
lrwxrwxrwx 1 nick nick 50 Mar 18 12:51 s-auxdec.ads -> /home/nick/riscos-elf/gcc-4.0/gcc/ada/s-auxdec.ads
-r--r--r-- 1 nick nick 19835 Mar 18 12:57 s-auxdec.ali
-rw-rw-r-- 1 nick nick 32908 Mar 18 12:57 s-auxdec.o
[EMAIL PROTECTED] rts]$


Nick.

Reply via email to