https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70588
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5/6 regression] SIGBUS on |SIGBUS on a VLA larger than |a VLA larger than SIZE_MAX |SIZE_MAX / 2 |/ 2 | --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Also, I kind of don't understand why is it so important to diagnose SIZE_MAX / 2 VLAs, when already significantly smaller VLAs will not really work on most systems (say with most Linux defaults usually something over 10MB or so already). As the VLAs in C++ are just an extension, IMHO it is better to keep it closer to the C VLAs (not throw etc.).