https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86621
--- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> --- > r262923 adds the missing logic to prevent the "unknown bound" kind of warning > unless -Walloca-larger-than has been explicitly specified. i386 bootstrap > should be restored (passes for me)., as should (hopefully) all other ILP32 > targets. The patch does indeed fix i386-pc-solaris2.11 and sparc-sun-solaris2.11 bootstrap. Thanks for that! Please post it to gcc-patches, though: all patches are supposed to go there for reference. However, the new patch introduced a couple of testsuite regressions: +FAIL: g++.dg/Walloca1.C -std=gnu++11 (test for warnings, line 7) +FAIL: g++.dg/Walloca1.C -std=gnu++14 (test for warnings, line 7) +FAIL: g++.dg/Walloca1.C -std=gnu++98 (test for warnings, line 7) +FAIL: gcc.dg/Wvla-larger-than-3.c (test for warnings, line 66) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 403) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 404) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 406) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 407) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 408) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 409) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 410) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 413) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 414) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 416) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 438) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 449) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 453) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 454) +FAIL: gcc.dg/attr-alloc_size-3.c (test for warnings, line 455) +FAIL: gcc.dg/attr-alloc_size-3.c (test for excess errors) +FAIL: gcc.dg/attr-alloc_size-3.c argument 2 (test for warnings, line 410) +FAIL: gcc.dg/attr-alloc_size-3.c argument 2 (test for warnings, line 455) +FAIL: gcc.dg/pr42611.c (test for warnings, line 17)