[Bug sanitizer/79993] [5/6/7 Regression] ICE in tree_to_uhwi, at tree.c:7344
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 20:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79993
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> Created attachment 41072 [details]
> gcc7-pr79993.patch
>
> So, one option is to revert to the 4.8 and earlier behavior, disallow any
> VLA initialization (like C does). This patch should do it.
I've been ambivalent about this. I think it makes sense, but given the number
of testcases that hit the change, the functionality seems to be fairly popular.
More information about the Gcc-bugs
mailing list