decl.c (gnat_to_gnu_entity): Force constants initialized to a static constant to...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 15 Nov 2008 12:34:00 +0000 (12:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 15 Nov 2008 12:34:00 +0000 (12:34 +0000)
commita5b8aacdd2b91ccfa37825d358141bad4cba1d11
tree567b03033f3048fcf0d71e7e6fd0ffbbaac668fe
parent4364e8514629e69a37e260ebb468734ec95bfaa9
decl.c (gnat_to_gnu_entity): Force constants initialized to a static constant to be statically allocated...

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Force constants
initialized to a static constant to be statically allocated even if
they are of a padding type, provided the original type also has
constant size.

From-SVN: r141883
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c