summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-11 23:29:45 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-11 23:29:45 +0000
commit90da44487af345ae40354312085b7ad793ead9b1 (patch)
tree6a02dd119e4fb65aa207ca5cc25e1b6e5f112fbb /gcc/opts.c
parent7e2dcd7ea93cadaf358e8dcbeec726bef029fc76 (diff)
downloadgcc-90da44487af345ae40354312085b7ad793ead9b1.tar.gz
* opts.c (finish_options): Do not error on -flto-partition alone.
* options.c (gfc_post_options): Remove flag_whopr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166632 138bc75d-0d04-0410-961f-82ee72b054a4
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