r154978 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Fri Dec 4 12:05:00 GMT 2009
Author: ebotcazou
Date: Fri Dec 4 12:05:08 2009
New Revision: 154978
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154978
Log:
* gcc-interface/trans.c (add_decl_expr): At toplevel, mark the
TYPE_ADA_SIZE field of records and unions.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Set the
source location of the node onto the comparison expression if it
is not cached.
Added:
trunk/gcc/testsuite/gnat.dg/specs/size_attribute1.ads
trunk/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg1.adb
trunk/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg1.ads
trunk/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg2.adb
trunk/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg2.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list