[Bug c++/57138] [4.8/4.9 Regression] ICE in cp_parser_class_specifier with variadic templates, using declarations, save-temps and precompiled header
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 2 09:55:00 GMT 2013
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
More information about the Gcc-bugs
mailing list