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

Reply via email to