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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is a C++ FE bug.  If it really wants to support initializing of VLAs (C
rejects this), it should do it correctly.
Here it creates a STRING_CST with a VLA type, which during expansion is pushed
into constant pool.  But, ASAN rightly assumes that constant pool objects have
constant sizes.

Reply via email to