------- 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

Reply via email to