summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-11-12 00:29:45 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2010-11-11 23:29:45 +0000
commita9c64730c2ac1eb5504209d27560d3eaebfdaff1 (patch)
tree6a02dd119e4fb65aa207ca5cc25e1b6e5f112fbb /gcc/opts.c
parentd5656544848558da436c8f33055b2ca2cc3a18ef (diff)
downloadgcc-a9c64730c2ac1eb5504209d27560d3eaebfdaff1.tar.gz
opts.c (finish_options): Do not error on -flto-partition alone.
* opts.c (finish_options): Do not error on -flto-partition alone. * options.c (gfc_post_options): Remove flag_whopr. From-SVN: r166632
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 085bc2502ff..f5f60b5b54c 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1238,8 +1238,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set)
+ (opts->x_flag_lto_partition_1to1 != 0)
+ (opts->x_flag_lto_partition_none != 0) > 1)
error ("only one -flto-partition value can be specified");
- if (!opts->x_flag_lto && !opts->x_flag_wpa && !opts->x_flag_ltrans)
- error ("-flto-partition has no effect without -flto");
}
/* We initialize opts->x_flag_split_stack to -1 so that targets can set a