From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29270 invoked by alias); 13 Apr 2005 15:24:56 -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 28760 invoked by uid 48); 13 Apr 2005 15:24:42 -0000 Date: Wed, 13 Apr 2005 15:24:00 -0000 From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050413152410.20995.bangerth@dealii.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/20995] New: [3.4 regression] ICE in const_binop, at fold-const.c:1391 X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg01735.txt.bz2 List-Id: This little piece of code here ----------------- template void test () { double d; double mu = 1; for (unsigned int i=0; i (); ----------------- ICEs with gcc3.4.4pre (and apparently all older versions of the 3.4.x branch I have): deal.II/tests> /ices/bangerth/tmp/build-gcc-3.4/gcc-install/bin/c++ -c x.cc x.cc: In function `void test()': x.cc:11: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1391 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. On the machine I'm on right now, I don't have a 4.x compiler, so it may even be a regression on 4.0 branch and/or mainline. It doesn't ICE gcc3.3.x, though. W. -- Summary: [3.4 regression] ICE in const_binop, at fold- const.c:1391 Product: gcc Version: 3.4.4 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20995