invoke.texi (Warning Options): Add new option -Wframe-larger-than=.
authorSeongbae Park <seongbae.park@gmail.com>
Wed, 20 Feb 2008 21:19:14 +0000 (21:19 +0000)
committerSeongbae Park <spark@gcc.gnu.org>
Wed, 20 Feb 2008 21:19:14 +0000 (21:19 +0000)
commita214518f7f23a6f5d2f81b4a4824c68488831c48
treed6c21e69cb0b12b3fcf52d86ecdbdc5d17f346c5
parentc8910ef9e2bbec3bfcfaedcd5f79d7b40a7a79ad
invoke.texi (Warning Options): Add new option -Wframe-larger-than=.

gcc/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* doc/invoke.texi (Warning Options): Add new option
-Wframe-larger-than=.
(-Wframe-larger-than): Document.

* flags.h (warn_frame_larger_than, frame_larger_than_size):
Add declarations for new option variables.

* final.c (final_start_function): Check the frame size
before emission and issue a Wframe-larger-than warning.

* opts.c (warn_frame_larger_than, frame_larger_than_size):
Add definitions for new option variables.
(common_handle_option): Handle new option OPT_Wframe_larger_than_.

* common.opt (Wframe-larger-than=): New option.

gcc/testsuite/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* gcc.dg/Wframe-larger-than.c: New option test.

From-SVN: r132496
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/final.c
gcc/flags.h
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wframe-larger-than.c [new file with mode: 0644]