From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32463 invoked by alias); 4 Jul 2006 00:28:11 -0000 Received: (qmail 32443 invoked by uid 48); 4 Jul 2006 00:28:03 -0000 Date: Tue, 04 Jul 2006 00:28:00 -0000 Subject: [Bug c++/28239] New: [4.2 regression] ICE in gimple_add_tmp_var, at gimplify.c:720 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tbm at cyrius dot com" 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 X-SW-Source: 2006-07/txt/msg00143.txt.bz2 List-Id: I get the following ICE with gcc 4.2 on invalid code: (sid)5059:tbm@test: ~/delta/bin] /usr/lib/gcc-snapshot/bin/g++ -c mini.c mini.c:1: error: 'SelectedStyle' has not been declared mini.c: In function 'int SelectedStyle(bool)': mini.c:1: error: only constructors take base initializers mini.c:1: error: '_' was not declared in this scope mini.c:2: error: '_sw_group' was not declared in this scope mini.c:4: error: expected `)' at end of input mini.c:4: error: expected `{' at end of input mini.c:4: internal compiler error: in gimple_add_tmp_var, at gimplify.c:694 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. For Debian GNU/Linux specific bug reporting instructions, see . zsh: exit 1 /usr/lib/gcc-snapshot/bin/g++ -c mini.c (sid)5060:tbm@test: ~/delta/bin] more mini.c SelectedStyle::SelectedStyle (bool layout):_desktop (__null), _table (2, 6), _fill_label (_("F:")), _popup_mm (_sw_group), _sw_unit (__null), _tooltips (), _drop ((void *[]) { 0, 0} -- Summary: [4.2 regression] ICE in gimple_add_tmp_var, at gimplify.c:720 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28239