From a9c64730c2ac1eb5504209d27560d3eaebfdaff1 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 12 Nov 2010 00:29:45 +0100 Subject: 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 --- gcc/opts.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index 085bc25..f5f60b5 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 -- cgit v1.1