This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: ada merge


On Tue, 21 Oct 2003 16:42:16 +0200, Arnaud Charlet <charlet@ACT-Europe.FR> wrote:

>> > Note: The following two changes are causing failures (with or without
>> > my patch) on the Ada build: tree.c:1.334 and stor-layout.c:1.171
>> > The tree.c issue is, I believe, under control. The second issue
>> > still needs to be addressed to be able to build Ada on the mainline.
>> 
>> I've now fixed the tree.c bug.  Nobody has mentioned Ada problems with the
>> stor-layout.c change.
>
> That's because it was hidden by the tree.c change: if you now go further
> with the tree.c fix, you'll get into it very easily:
>
> $ make -C gcc gnatlib
> [...]
> ../../xgcc -B../../ -c -g -O2 -gnatpg s-casi16.adb -o s-casi16.o
> s-casi16.adb:49:28: alignment for "Uhalf" must be at least 2
>
> It seems that any user specified alignment clause is now rejected
> basically.

Aha.  I had thought that we wouldn't have to mess with this stuff for
bit-fields; evidently that is not the case for Ada.  I'll have a fix
shortly.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]