public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x
@ 2011-11-08 10:21 reichelt at gcc dot gnu.org
  2011-11-08 10:23 ` [Bug c++/51029] " 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-08 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51029
           Summary: [4.7 Regression] ICE with -std=c++0x
    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


Compiling the following valid code snippet with "-std=c++0x" crashes on trunk
(it works without the flag):

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

struct B : virtual A
{
  template<int> B()
  {
    foo();
  }
};
========================

bug.cc: In constructor 'B::B()':
bug.cc:10:10: 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-11-09 18:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org
2011-11-08 10:23 ` [Bug c++/51029] " reichelt at gcc dot gnu.org
2011-11-08 10:30 ` [Bug c++/51029] [C++0x] " paolo.carlini at oracle dot com
2011-11-08 18:41 ` jason at gcc dot gnu.org
2011-11-09 18:26 ` jason at gcc dot gnu.org
2011-11-09 18:28 ` 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).