This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/21242] [4.1 Regression] wrong array copy code (ACATS c52102b c52102d)
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2005 13:25:30 -0000
- Subject: [Bug ada/21242] [4.1 Regression] wrong array copy code (ACATS c52102b c52102d)
- References: <20050427060430.21242.laurent@guerby.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From laurent at guerby dot net 2005-06-19 13:25 -------
Note that with the following patch on the reduced testcase (supressing the
anonymous array) it works:
- A : array (-F .. 1) of Boolean;
+ type BA is array (Integer range <>) of Boolean;
+ A : BA (-F .. 1);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21242