gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wcast-qual -fno-common -DHAVE_CONFIG_H -I.. -I. -Iada -I../../gcc/gcc -I../../gcc/gcc/ada -I../../gcc/gcc/../include -I../.. /gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../l ibdecnumber/dpd -I../libdecnumber ../../gcc/gcc/ada/gcc-interface/decl.c -o a da/decl.o gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wcast-qual -fno-common -DHAVE_CONFIG_H -I.. -I. -Iada -I../../gcc/gcc -I../../gcc/gcc/ada -I../../gcc/gcc/../include -I../.. /gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../l ibdecnumber/dpd -I../libdecnumber ../../gcc/gcc/ada/gcc-interface/misc.c -o a da/misc.o ../../gcc/gcc/ada/gcc-interface/decl.c: In function 'gnat_to_gnu_entity': ../../gcc/gcc/ada/gcc-interface/decl.c:2035: error: lvalue required as left oper and of assignment ../../gcc/gcc/ada/gcc-interface/decl.c:2876: error: lvalue required as left oper and of assignment ../../gcc/gcc/ada/gcc-interface/decl.c: In function 'make_aligning_type': ../../gcc/gcc/ada/gcc-interface/decl.c:5575: error: lvalue required as left oper and of assignment make[3]: *** [ada/decl.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 142549 was ok.
All the errors are lines like: TYPE_MODE (record_type) = BLKmode; Probably caused by: 2008-12-08 Richard Henderson <rth@redhat.com> PR 38240 * tree.h (TYPE_MODE): Invoke vector_type_mode when needed. (SET_TYPE_MODE): New.
Testing a fix.
Subject: Bug 38450 Author: jakub Date: Tue Dec 9 10:35:15 2008 New Revision: 142588 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142588 Log: PR ada/38450 * gcc-interface/utils.c (finish_record_type): Use SET_TYPE_MODE. * gcc-interface/decl.c (gnat_to_gnu_entity, make_aligning_type): Likewise. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/gcc-interface/decl.c trunk/gcc/ada/gcc-interface/utils.c
Fixed.