public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51326] New: [4.7 Regression] ICE with invalid override
@ 2011-11-27 21:56 reichelt at gcc dot gnu.org
  2011-11-27 21:57 ` [Bug c++/51326] " reichelt at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-27 21:56 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51326
           Summary: [4.7 Regression] ICE with invalid override
    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
{
  virtual int& foo();
};

struct B : A
{
  B& foo();
};
========================

bug.cc:6:8: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-12-01 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27 21:56 [Bug c++/51326] New: [4.7 Regression] ICE with invalid override reichelt at gcc dot gnu.org
2011-11-27 21:57 ` [Bug c++/51326] " reichelt at gcc dot gnu.org
2011-11-30 23:35 ` pinskia at gcc dot gnu.org
2011-12-01 10:08 ` paolo.carlini at oracle dot com
2011-12-01 22:14 ` paolo at gcc dot gnu.org
2011-12-01 22:16 ` paolo.carlini at oracle dot com

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).