This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/16910] Incorrect code generated for certain variant record source
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2004 09:51:19 -0000
- Subject: [Bug ada/16910] Incorrect code generated for certain variant record source
- References: <20040807040307.16910.jeff@thecreems.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From charlet at gcc dot gnu dot org 2004-08-07 09:51 -------
GNAT is correct here, and the code needs fixing: declaring a variable
aliased makes it constrained, and in the case of a variant record, no
longer mutable.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords|wrong-code |
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16910