This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22418] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2005 23:20:15 -0000
- Subject: [Bug ada/22418] Ada produces mis-match (non compatible) types in MODIFY_EXPR
- References: <20050711230907.22418.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 23:20 -------
(In reply to comment #0)
> Another one:
I think this testcase is the same problem:
PROCEDURE C37213D IS
TYPE MY_ARR IS ARRAY (natural RANGE <>) OF INTEGER;
FUNCTION F1 RETURN natural IS
BEGIN
RETURN 1;
END F1;
TYPE CONS (D3 : INTEGER := 1) IS
RECORD
C1 : MY_ARR(D3..F1);
END RECORD;
X : CONS;
BEGIN
null;
END C37213D;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22418