diff options
author | Richard Guenther <rguenther@suse.de> | 2009-10-13 12:42:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-10-13 12:42:30 +0000 |
commit | ab6218f150a207398a27d1e8bbc0249ac8c03466 (patch) | |
tree | 90f56c87befc608827ef1174d7c38c88631870a2 /gcc/opts.h | |
parent | b02a92ce3e51af8fa68748816c0e7aec1ea86bc6 (diff) | |
download | gcc-ab6218f150a207398a27d1e8bbc0249ac8c03466.zip gcc-ab6218f150a207398a27d1e8bbc0249ac8c03466.tar.gz gcc-ab6218f150a207398a27d1e8bbc0249ac8c03466.tar.bz2 |
re PR lto/41565 (-m32 causes an ICE when the object files were compiled with 64bit)
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.
From-SVN: r152705
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |