public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51429] New: [4.7 Regression] ICE with invalid use of overloaded member function
@ 2011-12-06  0:34 reichelt at gcc dot gnu.org
  2011-12-06  0:34 ` [Bug c++/51429] " reichelt at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-06  0:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51429

             Bug #: 51429
           Summary: [4.7 Regression] ICE with invalid use of overloaded
                    member function
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following invalid code snippet triggers an ICE on trunk:

===================
struct A
{
  void foo();
  void foo(int);

  A() { foo = 0; }
};
===================

bug.cc: In constructor 'A::A()':
bug.cc:6:15: internal compiler error: tree check: expected tree that contains
'decl common' structure, have 'baselink' in cxx_incomplete_type_diagnostic, at
cp/typeck2.c:431
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-12-07 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06  0:34 [Bug c++/51429] New: [4.7 Regression] ICE with invalid use of overloaded member function reichelt at gcc dot gnu.org
2011-12-06  0:34 ` [Bug c++/51429] " reichelt at gcc dot gnu.org
2011-12-07 14:49 ` jakub at gcc dot gnu.org
2011-12-07 20:47 ` jakub at gcc dot gnu.org
2011-12-07 20:49 ` jakub 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).