[Bug c++/40866] New: [4.5 Regression] ICE in create_tmp_var, at gimplify.c:504

dfranke at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 26 22:08:00 GMT 2009


The code below used to compile fine. I'll also attach a preprocessed version as
it depends on Qt4.

$> cat ice.cpp
#include <QDialog>

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



More information about the Gcc-bugs mailing list