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

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Mar 14 06:14:57 2018
New Revision: 258513

URL: https://gcc.gnu.org/viewcvs?rev=258513&root=gcc&view=rev
Log:
        PR c++/84596
        * semantics.c (finish_static_assert): Check
        instantiation_dependent_expression_p instead of
        {type,value}_dependent_expression_p.

        * g++.dg/cpp0x/static_assert15.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/static_assert15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to