]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (gnat_to_gnu_entity): Look into expressions for external constants that are...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 19 Sep 2010 13:12:13 +0000 (13:12 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 19 Sep 2010 13:12:13 +0000 (13:12 +0000)
commit50a6af053af7a89702c7093eec85b717257e88bc
tree32a41fb13fdcec0a8ebbccafdb8ca11ceb9759ca
parentb146446c53f525ad953fc7a886baceca17c74e9a
decl.c (gnat_to_gnu_entity): Look into expressions for external constants that are aggregates.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: Look into
expressions for external constants that are aggregates.
* gcc-interface/utils2.c (build_simple_component_ref): If the field
is an inherited component in an extension, look through the extension.

From-SVN: r164414
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/constant1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/constant1_pkg.ads [new file with mode: 0644]