From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7449 invoked by alias); 19 Aug 2003 21:43:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7415 invoked by uid 48); 19 Aug 2003 21:43:08 -0000 Date: Tue, 19 Aug 2003 21:43:00 -0000 Message-ID: <20030819214308.7413.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030819210705.11984.agx@sigxcpu.org> References: <20030819210705.11984.agx@sigxcpu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst X-Bugzilla-Reason: CC X-SW-Source: 2003-08/txt/msg02116.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984 bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Component|c |middle-end Ever Confirmed| |1 Priority|P2 |P1 Last reconfirmed|0000-00-00 00:00:00 |2003-08-19 21:43:07 date| | Summary|ICE: expected integer_cst, |[3.4 regression] ICE iwth - |have real_cst |ffast_math: expected | |integer_cst, have real_cst ------- Additional Comments From bangerth at dealii dot org 2003-08-19 21:43 ------- Confirmed. Here's something smaller: ------------------------------ extern double log (double); void f(double x) { double g; g = log(1.0 - x - 0.00001); } ------------------------------- Compile with -ffast-math: tmp/g> ../build-gcc/gcc-install/bin/gcc -c -ffast-math vf_hqdn3d-snapshot.i vf_hqdn3d-snapshot.i: In function `f': vf_hqdn3d-snapshot.i:6: internal compiler error: tree check: expected integer_cst, have real_cst in tree_int_cst_lt, at tree.c:3220 Please submit a full bug report, W.