diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 12:42:30 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 12:42:30 +0000 |
commit | b7f7149b6ff201820895b436d2e3f2edfc27cb7e (patch) | |
tree | 90f56c87befc608827ef1174d7c38c88631870a2 /gcc/opts.h | |
parent | 7fead3793074f5eeeb681d8ef96e02cd82c2c1da (diff) | |
download | gcc-b7f7149b6ff201820895b436d2e3f2edfc27cb7e.tar.gz |
2009-10-13 Richard Guenther <rguenther@suse.de>
PR lto/41565
* opts.c (handle_option): Split out code to handle setting
the options flag var ...
(set_option): ... here.
* opts.h (set_option): Declare.
* lto-opts.c (register_user_option_p): Include -fexceptions
and all position independent code variants.
(handle_common_option): Remove.
(lto_reissue_options): Use set_option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152705 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index b4be1111675..a2eef1938c7 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -103,6 +103,7 @@ extern void prune_options (int *argcp, char ***argvp); extern void decode_options (unsigned int argc, const char **argv); extern int option_enabled (int opt_idx); extern bool get_option_state (int, struct cl_option_state *); +extern void set_option (const struct cl_option *, int, const char *); extern void enable_warning_as_error (const char *arg, int value, unsigned int lang_mask); |