[Bug c++/84559] [6/7/8 Regression] ICE with constexpr and variable-sized array

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 26 00:01:00 GMT 2018


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-02-25
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Bisected to r246662 (gcc 7.0.1):

r246662 | jason | 2017-04-03 17:15:36 -0400 (Mon, 03 Apr 2017) | 7 lines

        PR sanitizer/79993 - ICE with VLA initialization from string

        PR c++/69487 - wrong VLA initialization from string
        * init.c (finish_length_check): Split out from build_vec_init.
        (build_vec_init): Handle STRING_CST.
        * typeck2.c (split_nonconstant_init): Handle STRING_CST.
        (digest_init_r): Don't give a STRING_CST VLA type.


More information about the Gcc-bugs mailing list