public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53786] New: [C++11] alias template causes g++ segfault
@ 2012-06-27 14:20 mustrumr97 at gmail dot com
  2012-06-27 22:18 ` [Bug c++/53786] " daniel.kruegler at googlemail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mustrumr97 at gmail dot com @ 2012-06-27 14:20 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53786
           Summary: [C++11] alias template causes g++ segfault
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mustrumr97@gmail.com


template<class... types>
class list{
    public:
        template<class t, class... ts>
        using tail_=list<ts...>;
        using tail=tail_<types...>;
};
using l=list<int>;

will make gcc 4.7.1 segfault
test.cpp:5:32: internal compiler error: Segmentation fault


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

end of thread, other threads:[~2013-04-05 16:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 14:20 [Bug c++/53786] New: [C++11] alias template causes g++ segfault mustrumr97 at gmail dot com
2012-06-27 22:18 ` [Bug c++/53786] " daniel.kruegler at googlemail dot com
2012-06-30 15:19 ` mustrumr97 at gmail dot com
2012-07-25  9:45 ` paolo.carlini at oracle dot com
2012-12-19 13:51 ` mustrumr97 at gmail dot com
2013-04-04 16:55 ` [Bug c++/53786] [C++11] alias template - error on valid code jason at gcc dot gnu.org
2013-04-05 16:29 ` 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).