This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/72801] ICE on invalid C++ code with ill-formed class member specialization: tree check: expected class ‘expression’, have ‘type’ (integer_type) in tree_operand_check, at tree.h:3521


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72801

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 17 18:08:05 2018
New Revision: 256808

URL: https://gcc.gnu.org/viewcvs?rev=256808&root=gcc&view=rev
Log:
        PR c++/81843 - ICE with variadic member template.

        PR c++/72801
        * pt.c (unify_pack_expansion): Don't try to deduce enclosing
        template args.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/variadic171.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]