[Bug c++/28239] New: [4.2 regression] ICE in gimple_add_tmp_var, at gimplify.c:720
tbm at cyrius dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 4 00:28:00 GMT 2006
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 <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
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
More information about the Gcc-bugs
mailing list