https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>: https://gcc.gnu.org/g:b5228b1bc8cb81be494f5b5faa68b6b859ce0227 commit r10-7381-gb5228b1bc8cb81be494f5b5faa68b6b859ce0227 Author: Martin Sebor <mse...@redhat.com> Date: Wed Mar 25 10:48:13 2020 -0600 PR middle-end/94004 - missing -Walloca on calls to alloca due to -Wno-system-headers gcc/testsuite/ChangeLog: PR middle-end/94004 * gcc.dg/Walloca-larger-than-3.c: New test. * gcc.dg/Walloca-larger-than-3.h: New test header. * gcc.dg/Wvla-larger-than-4.c: New test. gcc/ChangeLog: PR middle-end/94004 * gimple-ssa-warn-alloca.c (pass_walloca::execute): Issue warnings even for alloca calls resulting from system macro expansion. Include inlining context in all warnings.