public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ajrh at ajrh dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/48969] New: ICE with -std=c++0x Date: Wed, 11 May 2011 21:14:00 -0000 [thread overview] Message-ID: <bug-48969-4@http.gcc.gnu.org/bugzilla/> (raw) 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; };
next reply other threads:[~2011-05-11 21:04 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-05-11 21:14 ajrh at ajrh dot net [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-48969-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).