]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/freeze.adb
2008-05-20 Ed Schonberg <schonberg@adacore.com>
authorEd Schonberg <schonberg@adacore.com>
Tue, 20 May 2008 12:46:54 +0000 (14:46 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 May 2008 12:46:54 +0000 (14:46 +0200)
commitd677afa9583e31ef0eae98998b29f884fd409d72
treeb91e40169240cbd8a69c0da15f7565e995ff88c7
parent7052f54e6286b1e9e87e0f2eaf827dec15f3f2c2
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
gcc/ada/freeze.adb
This page took 0.079661 seconds and 5 git commands to generate.