Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 18 Oct 2016 21:40:58 +0000 (21:40 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 18 Oct 2016 21:40:58 +0000 (21:40 +0000)
commitadc577c558a4b2e3b604511927cce17039d57c11
treedfe1d533c1e9dab17d08ca538f808ea3dd632eea
parentc354ab1fb22e031c69ff75e498eee0e70eaea40f
Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.

* Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.
* passes.def: Add two instances of pass_walloca.
* tree-pass.h (make_pass_walloca): New.
* gimple-ssa-warn-walloca.c: New file.
* doc/invoke.texi: Document -Walloca, -Walloca-larger-than=, and
-Wvla-larger-than= options.

From-SVN: r241318
22 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/doc/invoke.texi
gcc/gimple-ssa-warn-alloca.c [new file with mode: 0644]
gcc/passes.def
gcc/testsuite/gcc.dg/Walloca-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-10.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Walloca-9.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wvla-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wvla-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wvla-3.c [new file with mode: 0644]
gcc/tree-pass.h