public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/35828] [C++0x] ICE on default template template parameter in template function Date: Sun, 28 Dec 2008 22:13:00 -0000 [thread overview] Message-ID: <20081228221155.12043.qmail@sourceware.org> (raw) In-Reply-To: <bug-35828-6959@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from reichelt at gcc dot gnu dot org 2008-12-28 22:11 ------- Confirmed. Reduced testcase for comment #1: ===================================================================== template<typename> struct A; template<typename, template<typename> class = A> void foo(); void bar() { foo<int>(); } ===================================================================== bug.cc: In function 'void bar()': bug.cc:1: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] Removing the first template parameter yields a different error: ===================================================================== template<typename> struct A; template<template<typename> class = A> void foo(); void bar() { foo(); } ===================================================================== bug.cc: In function 'void bar()': bug.cc:1: internal compiler error: in tsubst_decl, at cp/pt.c:7958 Please submit a full bug report, [etc.] -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-12-28 22:11:55 date| | Summary|ICEs in template-heavy C++0x|[C++0x] ICE on default |code |template template parameter | |in template function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35828
next prev parent reply other threads:[~2008-12-28 22:13 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-04 21:29 [Bug c++/35828] New: ICE on template-heavy C++ code, reported in innocent source line gcc at cohi dot at 2008-04-04 21:31 ` [Bug c++/35828] " gcc at cohi dot at 2008-04-04 21:44 ` gcc at cohi dot at 2008-04-08 8:32 ` gcc at cohi dot at 2008-04-08 8:35 ` [Bug c++/35828] ICEs in template-heavy C++0x code gcc at cohi dot at 2008-04-08 10:56 ` gcc at cohi dot at 2008-12-28 22:13 ` reichelt at gcc dot gnu dot org [this message] 2009-04-20 17:51 ` [Bug c++/35828] [C++0x] ICE on default template template parameter in template function gcc at abeckmann dot de 2009-04-22 23:55 ` pinskia at gcc dot gnu dot org 2009-07-07 22:04 ` jason at gcc dot gnu dot org 2009-07-07 22:11 ` jason at gcc dot gnu dot org 2009-07-07 22:16 ` jason at gcc dot gnu dot 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=20081228221155.12043.qmail@sourceware.org \ --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).