This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22381] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- From: "bosch at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2005 01:46:27 -0000
- Subject: [Bug ada/22381] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- References: <20050709002521.22381.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bosch at gcc dot gnu dot org 2005-07-12 01:46 -------
This seems a problem where Gigi adds padding, but does not add a convert. The padding is added at
decl.c:698, and 20 lines later, there is a complex condition to figure out when and when not to add a
"convert". This condition seems to be wrong, as for this test case no conversion to the padded type is
added, while there should have been one.
-Geert
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |kenner at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |bosch at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-12 01:46:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22381