diff options
author | Ed Schonberg <schonberg@adacore.com> | 2008-05-20 14:46:54 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-05-20 14:46:54 +0200 |
commit | d677afa9583e31ef0eae98998b29f884fd409d72 (patch) | |
tree | b91e40169240cbd8a69c0da15f7565e995ff88c7 /gcc/ada/init.c | |
parent | 7052f54e6286b1e9e87e0f2eaf827dec15f3f2c2 (diff) | |
download | gcc-d677afa9583e31ef0eae98998b29f884fd409d72.zip gcc-d677afa9583e31ef0eae98998b29f884fd409d72.tar.gz gcc-d677afa9583e31ef0eae98998b29f884fd409d72.tar.bz2 |
2008-05-20 Ed Schonberg <schonberg@adacore.com>
* freeze.adb
(Freeze_Enumeration_Type): For a subtype that inherits a foreign
convention from its base type, do not set the type to that of integer,
because it may inherit a size clause.
Warn on a size clause with a size different
from that of Integer, if the type has convention C.
From-SVN: r135628
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions