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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 21 18:51:43 2019
New Revision: 277267

URL: https://gcc.gnu.org/viewcvs?rev=277267&root=gcc&view=rev
Log:
        PR c++/92015
        * constexpr.c (cxx_eval_component_reference, cxx_eval_bit_field_ref):
        Use STRIP_ANY_LOCATION_WRAPPER on CONSTRUCTOR elts.

        * g++.dg/cpp0x/constexpr-92015.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-92015.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to