common.opt (flag_stack_check): New Variable entry.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 1 Dec 2010 13:58:52 +0000 (13:58 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 1 Dec 2010 13:58:52 +0000 (13:58 +0000)
commit5e471ea65b2d7ee38c8ec991fe8b1ded8766acc2
tree22ef034e385c243309503680ac6ccdcaafcc7e75
parente1208a579981b33f86535e7d1fb42ea843d04737
common.opt (flag_stack_check): New Variable entry.

* common.opt (flag_stack_check): New Variable entry.
(fcompare-debug-second): Use Var.
* flags.h (flag_compare_debug, flag_stack_check): Remove.
* opts.c (flag_compare_debug): Remove.
(common_handle_option): Don't handle OPT_fcompare_debug_second.
Set opts->x_flag_stack_check for OPT_fstack_check_.
* toplev.c (flag_stack_check): Remove.

ada:
* gcc-interface/misc.c (flag_compare_debug, flag_stack_check):
Undefine as macros then define as variables.
(gnat_post_options): Set variables from global_options.

From-SVN: r167331
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c
gcc/common.opt
gcc/flags.h
gcc/opts.c
gcc/toplev.c