public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50114] New: ICE on invalid code in pop_binding, at cp/name-lookup.c:382
@ 2011-08-18  8:26 doko at gcc dot gnu.org
  2011-08-19  9:41 ` [Bug c++/50114] " paolo.carlini at oracle dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2011-08-18  8:26 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-30 21:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18  8:26 [Bug c++/50114] New: ICE on invalid code in pop_binding, at cp/name-lookup.c:382 doko at gcc dot gnu.org
2011-08-19  9:41 ` [Bug c++/50114] " paolo.carlini at oracle dot com
2011-08-20 19:13 ` feedback at launchpad dot net
2011-08-21  7:55 ` paolo.carlini at oracle dot com
2011-08-25  2:01 ` pinskia at gcc dot gnu.org
2011-08-25  3:03 ` [Bug c++/50114] ICE with declaration inside for statement pinskia at gcc dot gnu.org
2011-08-30 19:32 ` jason at gcc dot gnu.org
2011-08-30 21:37 ` jason at gcc dot gnu.org
2011-08-30 22:10 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).