diff options
author | Jan Hubicka <jh@suse.cz> | 2010-11-12 00:29:45 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-11-11 23:29:45 +0000 |
commit | a9c64730c2ac1eb5504209d27560d3eaebfdaff1 (patch) | |
tree | 6a02dd119e4fb65aa207ca5cc25e1b6e5f112fbb /gcc/opts.c | |
parent | d5656544848558da436c8f33055b2ca2cc3a18ef (diff) | |
download | gcc-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.c | 2 |
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 |