------- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-01-20 20:14 ------- > 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 |
Yes, an annoying problem, regression from 3.x. -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED GCC build triplet|x86_64-suse-linux-gnu |*-*-* GCC host triplet|x86_64-suse-linux-gnu |*-*-* GCC target triplet|x86_64-suse-linux-gnu |*-*-* Last reconfirmed|2006-01-20 20:01:27 |2006-01-20 20:14:09 date| | Summary|Ada ICE have nop_expr in |[4.0/4.1/4.2 Regression] |int_const_binop on x86_64- |Tree checking failure on |linux |ASIS http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25885