This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57138] [4.8/4.9 Regression] ICE in cp_parser_class_specifier with variadic templates, using declarations, save-temps and precompiled header
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 May 2013 09:55:45 +0000
- Subject: [Bug c++/57138] [4.8/4.9 Regression] ICE in cp_parser_class_specifier with variadic templates, using declarations, save-temps and precompiled header
- Auto-submitted: auto-generated
- References: <bug-57138-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57138
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-05-02
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Target Milestone|--- |4.8.1
Summary|ICE in |[4.8/4.9 Regression] ICE in
|cp_parser_class_specifier |cp_parser_class_specifier
|with variadic templates, |with variadic templates,
|using declarations, |using declarations,
|save-temps and precompiled |save-temps and precompiled
|header |header
Ever Confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-05-02 09:55:45 UTC ---
No PCH is needed, just --enable-checking=yes compiler.
Simplified testcase for -std=c++0x:
template <template <typename ... X> class T, typename ... Y>
struct D
{
template <typename ... Z>
using type = T <Y..., Z...>;
};
template <typename T>
class A {};
template <typename X, typename Y>
struct B;
template <typename T>
struct B <int, T>
{
typedef A <T> type;
};
template <typename X, typename Y>
using C = typename B <X, Y>::type;
struct E : public D <C> {};
The ICE started with http://gcc.gnu.org/r186434