public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48969] New: ICE with -std=c++0x
@ 2011-05-11 21:14 ajrh at ajrh dot net
  2011-05-11 23:41 ` [Bug c++/48969] " redi at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ajrh at ajrh dot net @ 2011-05-11 21:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE with -std=c++0x
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ajrh@ajrh.net


The file below compiles OK if the -std=c++0x flag is not passed

g++ -c -std=c++0x x.cpp
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report, [...]

===========

template<unsigned int N> struct Pair { };
struct Foo { enum { Mask = 1 }; } foo;
template<typename A, typename B> class Pair<A::Mask | B::Mask> operator|(const
A &, const B &)
{
    foo | foo;
};


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

end of thread, other threads:[~2011-06-07 21:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 21:14 [Bug c++/48969] New: ICE with -std=c++0x ajrh at ajrh dot net
2011-05-11 23:41 ` [Bug c++/48969] " redi at gcc dot gnu.org
2011-05-12  9:55 ` redi at gcc dot gnu.org
2011-05-13 17:20 ` jason at gcc dot gnu.org
2011-05-13 17:25 ` jason at gcc dot gnu.org
2011-05-13 23:33 ` jason at gcc dot gnu.org
2011-05-16 21:28 ` jason at gcc dot gnu.org
2011-05-22 19:35 ` jason at gcc dot gnu.org
2011-05-25  1:49 ` jason at gcc dot gnu.org
2011-05-25  1:57 ` jason at gcc dot gnu.org
2011-06-07 21:55 ` 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).