https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83172
--- Comment #4 from Hao Hou ---
(In reply to Eric Botcazou from comment #3)
> > The same result:
> >
> > $ gcc-7 -Wvla-larger-than=128 -Wstack-usage=102400 -O0 -c t.c
> > t.c: In function ‘stack_usage_only’:
> > t.c:23:5: warning: stack usage m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83172
--- Comment #2 from Hao Hou ---
(In reply to Eric Botcazou from comment #1)
> What happens for -Wvla-larger-than= if you use -O0 or -O1 instead of -O3?
The same result:
$ gcc-7 -Wvla-larger-than=128 -Wstack-usage=102400 -O0 -c t.c
t.c: In func
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: hao.hou at utah dot edu
Target Milestone: ---
Created attachment 42725
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42725&action=edit
The preprocessed source code repoduce the bug
There's some case
ormal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: hao.hou at utah dot edu
Target Milestone: ---
Created attachment 42723
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42723&action=edit
The preprocessed source c