]> git.ipfire.org Git - thirdparty/gcc.git/commit
layout.adb (Discrimify): Remove resetting of Vtype to the underlying type which turns...
authorGary Dismukes <dismukes@adacore.com>
Thu, 16 Jun 2005 08:42:04 +0000 (10:42 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2005 08:42:04 +0000 (10:42 +0200)
commitd37209bffbef004f2de1040b938ae0d1eeb493aa
tree458b4c68b0da5ede00eaa37fd4ee5736a5c61615
parent564383da33e0a312edb3fc57ce5eddef8b5ab119
layout.adb (Discrimify): Remove resetting of Vtype to the underlying type which turns out to be an...

2005-06-14  Gary Dismukes  <dismukes@adacore.com>

* layout.adb (Discrimify): Remove resetting of Vtype to the underlying
type which turns out to be an incomplete and incorrect fix.
(Layout_Array_Type): Use Underlying_Type when checking whether the scope
of the type is declared in a record (for determination of insertion
type).
(SO_Ref_From_Expr): Test whether Vtype denotes a partial or full view of
a private type and ensure that the primary entity is used for the type
of the newly created function's V formal by taking the Etype of the
view.

From-SVN: r101044
gcc/ada/layout.adb