From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22130 invoked by alias); 26 Jul 2009 22:08:08 -0000 Received: (qmail 21974 invoked by uid 48); 26 Jul 2009 22:07:55 -0000 Date: Sun, 26 Jul 2009 22:08:00 -0000 Subject: [Bug c++/40866] New: [4.5 Regression] ICE in create_tmp_var, at gimplify.c:504 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dfranke at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg02131.txt.bz2 The code below used to compile fine. I'll also attach a preprocessed version as it depends on Qt4. $> cat ice.cpp #include class myDialog : public QDialog { public: myDialog(); }; myDialog::myDialog() { foreach (QAction *action, actions()) { } } $> g++-svn -g -Wall -I. -I/usr/include/qt4 -I/usr/include/qt4/QtGui -c ice.cpp ice.cpp: In constructor 'myDialog::myDialog()': ice.cpp:9:3: warning: unused variable 'action' ice.cpp: In constructor 'myDialog::myDialog()': ice.cpp:9:3: internal compiler error: in create_tmp_var, at gimplify.c:504 Please submit a full bug report $> g++-svn -v gcc version 4.5.0 20090725 (experimental) (GCC) -- Summary: [4.5 Regression] ICE in create_tmp_var, at gimplify.c:504 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dfranke at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40866