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++/80309] [7 Regression] ICE: canonical types differ for identical types _Args2 and _Args2


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr  5 19:10:17 2017
New Revision: 246717

URL: https://gcc.gnu.org/viewcvs?rev=246717&root=gcc&view=rev
Log:
        PR c++/80309
        * pt.c (canonical_type_parameter): Use vec_safe_grow_cleared instead
        of a loop doing vec_safe_push of NULL.  Formatting fixes.
        (rewrite_template_parm): Copy TEMPLATE_PARM_PARAMETER_PACK from oldidx
        to newidx before calling canonical_type_parameter on newtype.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

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