Happens when using -O0 on x86, x86_64 and ia64 (works at -O2 on the same platforms).
+===========================GNAT BUG DETECTED==============================+ | 4.0.0 20041206 (experimental) (i686-pc-linux-gnu) GCC error: | | in tree_low_cst, at tree.c:3839 | | Error detected at c37305a.adb:82:5 | -- Summary: ACATS ICE c37305a at -O0: in tree_low_cst, at tree.c:3839 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=18859