[Bug c++/92524] [9 Regression] ICE in short program with constexpr and std::array

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:35:00 GMT 2020


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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:929d901ead4f859c8e385d91547482445a85066c

commit r8-9988-g929d901ead4f859c8e385d91547482445a85066c
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Feb 14 12:51:28 2020 +0100

    backport: re PR c++/92524 (ICE in short program with constexpr and
std::array)

        Backported from mainline
        2019-11-27  Jakub Jelinek  <jakub@redhat.com>

        PR c++/92524
        * tree.c (replace_placeholders_r): Don't walk constructor elts with
        RANGE_EXPR indexes.

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


More information about the Gcc-bugs mailing list