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++/84540] [6/7/8 Regression] ICE with alignas in variadic template


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Feb 26 20:06:40 2018
New Revision: 258012

URL: https://gcc.gnu.org/viewcvs?rev=258012&root=gcc&view=rev
Log:
/cp
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84540
        * pt.c (tsubst_attributes): Handle correctly tsubst_attribute
        returning NULL_TREE.
        (apply_late_template_attributes): Likewise.

/testsuite
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84540
        * g++.dg/cpp0x/alignas14.C: New.
        * g++.dg/cpp0x/alignas15.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alignas14.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alignas15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

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