diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 23:59:18 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 23:59:18 +0000 |
commit | cc4fa57a6522bccaa1b5a7f6d23268ed94f6ad86 (patch) | |
tree | 2bb8959996eb7c19089d471cfbfcd33670a0625f /gcc/flags.h | |
parent | 7182acf559ccae778af9d8f37d2b6ffd89e9a179 (diff) | |
download | gcc-cc4fa57a6522bccaa1b5a7f6d23268ed94f6ad86.tar.gz |
* common.opt (exit_after_options, write_symbols, debug_info_level,
use_gnu_debug_info_extensions): New Variable entries.
(fprofile-dir=): Use Var.
* flag-types.h (enum debug_info_level): Rename to enum
debug_info_levels.
* flags.h (write_symbols, debug_info_level,
use_gnu_debug_info_extensions): Remove declarations.
* opts.c (exit_after_options, write_symbols, debug_info_level):
Remove.
(set_struct_debug_option): Make static variables const.
(use_gnu_debug_info_extensions): Remove.
(set_debug_level, print_filtered_help, print_specific_help,
fast_math_flags_set_p): Take gcc_options parameters and use them
in place of global variables.
(print_filtered_help): Make new_help non-static.
(print_specific_help): Update call to print_filtered_help.
(common_handle_option): Update calls to print_specific_help. Use
gcc_options structure for more settings. Make --help table
const. Don't handle OPT_fprofile_dir_ here. Update calls to
set_debug_level.
* toplev.c (profile_data_prefix): Remove.
* toplev.h (profile_data_prefix, exit_after_options): Remove
declarations.
(fast_math_flags_set_p): Update prototype.
* cppbuiltin.c (define_builtin_macros_for_compilation_flags):
Update call to fast_math_flags_set_p.
objc:
* objc-act.c (write_symbols): Don't declare here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167064 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r-- | gcc/flags.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index 4edb7849d4f..cbee498e00a 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -28,23 +28,13 @@ along with GCC; see the file COPYING3. If not see #if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS) -/* Specify which kind of debugging info to generate. */ -extern enum debug_info_type write_symbols; - /* Names of debug_info_type, for error messages. */ extern const char *const debug_type_names[]; -/* Specify how much debugging info to generate. */ -extern enum debug_info_level debug_info_level; - extern int base_of_path (const char *path, const char **base_out); extern void set_struct_debug_option (struct gcc_options *opts, const char *value); -/* Nonzero means use GNU-only extensions in the generated symbolic - debugging information. */ -extern bool use_gnu_debug_info_extensions; - /* Run the second compilation of -fcompare-debug. Not defined using Var in common.opt because this is used in Ada code and so must be an actual variable not a macro. */ |