This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/21937] Member record alignment triggering an ICE
- From: "macro at linux-mips dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2005 10:28:55 -0000
- Subject: [Bug ada/21937] Member record alignment triggering an ICE
- References: <20050606204209.21937.macro@linux-mips.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From macro at linux-mips dot org 2005-06-07 10:28 -------
Here are details missing from the original report (sorry about that).
This is output from the compiler when the ICE happens:
4.0.0 (alpha-unknown-linux-gnu) GCC error:
in simplify_subreg, at simplify-rtx.c:3726
Error detected at terminal_interface-curses.adb:2559:1
[...]
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:387
This is a ChangeLog entry for the patch:
2005-06-07 Maciej W. Rozycki <macro@linux-mips.org>
* ada/decl.c (make_packable_type): Use the same alignment for the new
type.
Finally, as I have a native compiler for an affected platform, specifically
mipsel-linux-gnu, I have run the Ada testsuite both without and with the
patch applied and the change hasn't introduced any regressions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937