This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22328] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- From: "bosch at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2005 15:39:10 -0000
- Subject: [Bug ada/22328] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- References: <20050706192844.22328.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bosch at adacore dot com 2005-07-08 15:39 -------
Subject: Re: Ada produces mis-match (non compatible) types in MODIFY_EXPR
Something like the attached patch (untested) should work.
I've got child duty today, so won't be able to test this until
at least tonight.
This is slightly different from the code that was earlier removed,
in that it doesn't check recursively. Nested arrays and records
should always have proper types.
-Geert
------- Additional Comments From bosch at adacore dot com 2005-07-08 15:39 -------
Created an attachment (id=9230)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9230&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22328