This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50114] New: ICE on invalid code in pop_binding, at cp/name-lookup.c:382
- From: "doko at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Aug 2011 08:23:41 +0000
- Subject: [Bug c++/50114] New: ICE on invalid code in pop_binding, at cp/name-lookup.c:382
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50114
Bug #: 50114
Summary: ICE on invalid code in pop_binding, at
cp/name-lookup.c:382
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: doko@gcc.gnu.org
Created attachment 25045
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25045
preprocessed source
fails with current 4.5 and 4.6 branches, and trunk.
$ g++ -std=c++0x -c bp_b.ii
src/bp/bp_b.cc: In lambda function:
src/bp/bp_b.cc:538:33: error: invalid conversion from
'tt_bookprxor::open_newfeeds()::x2feed*' to 'int' [-fpermissive]
src/bp/bp_b.cc:539:25: error: base operand of '->' is not a pointer
src/bp/bp_b.cc:540:24: error: 'x2feeds_i' was not declared in this scope
src/bp/bp_b.cc:540:58: error: return-statement with a value, in function
returning 'void' [-fpermissive]
src/bp/bp_b.cc:545:9: warning: name lookup of 'x2feed_i' changed [enabled by
default]
src/bp/bp_b.cc:534:46: warning: matches this 'x2feed_i' under ISO standard
rules [enabled by default]
src/bp/bp_b.cc:538:22: warning: matches this 'x2feed_i' under old rules
[enabled by default]
src/bp/bp_b.cc:545:55: error: cannot convert 'tt::feedhdlr*' to
'circlist<tt::feedhdlr*>*' in assignment
src/bp/bp_b.cc:547:5: internal compiler error: in pop_binding, at
cp/name-lookup.c:382
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.