Present on both x86 and x86_64. +===========================GNAT BUG DETECTED==============================+ | 4.0.0 20041122 (experimental) (i686-pc-linux-gnu) GCC error: | | tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, | | at tree.c:3779 | | Error detected at cc1221d.adb:173:5 |
Confirmed also on ppc-darwin.
Also happens on ia64-linux.
The test PASS at -O0 on x86, x86_64 and ia64.
Investigating.
Recategorizing.
Proposed fix: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01179.html
I want to say PR 18705 is the bug as this one but I could be wrong.
> I want to say PR 18705 is the bug as this one but I could be wrong. I think you're right.
Subject: Bug 18663 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2005-02-21 07:27:16 Modified files: gcc : ChangeLog tree-ssa-dom.c Log message: PR tree-optimization/18663 * tree-ssa-dom.c (extract_range_from_cond): Return 0 if the type has variable bounds. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7545&r2=2.7546 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&r1=2.92&r2=2.93
Patch applied.
*** Bug 18705 has been marked as a duplicate of this bug. ***