aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-10-13 12:42:30 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-10-13 12:42:30 +0000
commitab6218f150a207398a27d1e8bbc0249ac8c03466 (patch)
tree90f56c87befc608827ef1174d7c38c88631870a2 /gcc/opts.h
parentb02a92ce3e51af8fa68748816c0e7aec1ea86bc6 (diff)
downloadgcc-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index b4be111..a2eef19 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);