On x86 and x86_64 when compiled at -O0 ce2109b ce2404b ce2410b ICE the same way, no ICE and pass on ia64.
The tests pass at -O2 on x86 and x86_64. +===========================GNAT BUG DETECTED==============================+ | 4.0.0 20041206 (experimental) (i686-pc-linux-gnu) GCC error: | | in expand_assignment, at expr.c:3756 | | Error detected at ce2109b.adb:80:5 | +===========================GNAT BUG DETECTED==============================+ | 4.0.0 20041206 (experimental) (i686-pc-linux-gnu) GCC error: | | in expand_assignment, at expr.c:3756 | | Error detected at ce2404b.adb:82:5 | +===========================GNAT BUG DETECTED==============================+ | 4.0.0 20041206 (experimental) (i686-pc-linux-gnu) GCC error: | | in expand_assignment, at expr.c:3756 | | Error detected at ce2410b.adb:84:5 | -- Summary: ACATS ICE ce2109b ce2404b ce2410b at -O0: in expand_assignment, at expr.c:3756 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: laurent at guerby dot net CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18858