[Bug c++/47635] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Thu May 26 18:30:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47635
Pawel Sikora <pluto at agmk dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.5.3, 4.6.0 |4.5.4, 4.6.1, 4.7.0
--- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2011-05-26 18:28:19 UTC ---
update:
$ g++45 heshvpUtils.ii -c -std=gnu++0x
heshvpUtils.cpp:333:18: internal compiler error: in constructor_name_p, at
cp/name-lookup.c:1809
g++46 heshvpUtils.ii -c -std=gnu++0x -fpermissive
heshvpUtils.cpp:333:28: warning: ISO C++ forbids declaration of 'version' with
no type [-fpermissive]
heshvpUtils.cpp:333:28: error: 'enum hvp::LibraryVersion' is not a class or a
namespace
heshvpUtils.cpp: In member function 'int hvp::version() const':
heshvpUtils.cpp:334:10: error: 'libVersion_' was not declared in this scope
heshvpUtils.cpp: At global scope:
heshvpUtils.cpp:333:2: internal compiler error: tree check: expected class
'type', have 'declaration' (namespace_decl) in write_bare_function_type, at
cp/mangle.c:2290
$ g++47 heshvpUtils.ii -c -std=gnu++0x -fpermissive
heshvpUtils.cpp:333:28: warning: ISO C++ forbids declaration of 'version' with
no type [-fpermissive]
heshvpUtils.cpp:333:28: error: 'enum hvp::LibraryVersion' is not a class or a
namespace
heshvpUtils.cpp: In member function 'int hvp::version() const':
heshvpUtils.cpp:334:10: error: 'libVersion_' was not declared in this scope
heshvpUtils.cpp: At global scope:
heshvpUtils.cpp:333:2: internal compiler error: tree check: expected class
'type', have 'declaration' (namespace_decl) in write_bare_function_type, at
cp/mangle.c:2294
More information about the Gcc-bugs
mailing list