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++/84325] [8 Regression] internal compiler error, in cxx_eval_constant_expression gcc/cp/constexpr.c:4740


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

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Feb 26 18:41:56 2018
New Revision: 258008

URL: https://gcc.gnu.org/viewcvs?rev=258008&root=gcc&view=rev
Log:
        PR c++/84325
        * tree.c (replace_placeholders_r): Only check TREE_CONSTANT on
        non-types.

        * g++.dg/cpp1z/pr84325.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/pr84325.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.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]