This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/25885] Ada ICE have nop_expr in int_const_binop on x86_64-linux
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2006 20:01:27 -0000
- Subject: [Bug ada/25885] Ada ICE have nop_expr in int_const_binop on x86_64-linux
- References: <bug-25885-6251@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from laurent at guerby dot net 2006-01-20 20:01 -------
Note this works on i686 with 4.0.2.
Confirmed on 4.0.2, also present in 4.1 and 4.2
$ gcc -c -O2 gnatpp-comments.adb
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20060112 (prerelease) (x86_64-unknown-linux-gnu) GCC error: |
| tree check: expected integer_cst, have nop_expr in int_const_binop, |
| at fold-const.c:1330 |
| Error detected at gnatpp-comments.adb:944:17 |
$ gcc -c -O2 gnatpp-comments.adb
+===========================GNAT BUG DETECTED==============================+
| 4.2.0 20060115 (experimental) (x86_64-unknown-linux-gnu) GCC error: |
| tree check: expected integer_cst, have nop_expr in int_const_binop, |
| at fold-const.c:1369 |
| Error detected at gnatpp-comments.adb:944:17 |
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-01-20 20:01:27
date| |
Summary|gnatpp won't compile |Ada ICE have nop_expr in
| |int_const_binop on x86_64-
| |linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25885