r231062 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Mon Nov 30 11:25:00 GMT 2015
Author: ebotcazou
Date: Mon Nov 30 11:25:24 2015
New Revision: 231062
URL: https://gcc.gnu.org/viewcvs?rev=231062&root=gcc&view=rev
Log:
* gcc-interface/ada-tree.h (TYPE_MAX_ALIGN): New macro.
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not set PACKED to -2.
Remove obsolete code setting the alignment on some atomic types.
When the type has no alignment but needs strict alignment and has a
size clause, compute a maximum alignment and set it on the type.
(adjust_packed): Remove handling of -2 argument. Deal with TYPE_ALIGN
and TYPE_MAX_ALIGN directly.
(gnat_to_gnu_field): Do not document -2 as argument.
(components_to_record): Likewise.
* gcc-interface/utils.c (finish_record_type): Do not bump alignment of
the record type beyond TYPE_MAX_ALIGN. Reset the latter on exit.
* gcc-interface/Makefile.in (PICFLAG_FOR_TARGET): Move around.
(GNATLIBCFLAGS_FOR_C): Reformat.
(GCC_CFLAGS): Delete.
Added:
trunk/gcc/testsuite/gnat.dg/specs/rep_clause5.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/Makefile.in
trunk/gcc/ada/gcc-interface/ada-tree.h
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/ada/gcc-interface/utils.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list