[Bug sanitizer/80168] [5/6/7 Regression] ICE in make_decl_rtl, at varasm.c:1311 w/ VLA and -fsanitize=address
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 24 16:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80168
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I'm not sure this is valid given 'a' is global.
It is valid, VLA size is just an integral expression, and a is a valid
expression. The size is computed at the point where the VLA is declared (we
remember there the size in some temporary if we need it later).
More information about the Gcc-bugs
mailing list