From 0a35513e4e73ec9c6f24e791d344308ad3ed030d Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 8 Nov 2011 11:13:41 +0000 Subject: Merge from transactional-memory branch. From-SVN: r181154 --- gcc/opts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index 3153fe5..9fdb226 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -784,6 +784,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, #endif if (!opts->x_flag_fat_lto_objects && !HAVE_LTO_PLUGIN) error_at (loc, "-fno-fat-lto-objects are supported only with linker plugin."); + if (opts->x_flag_tm) + error_at (loc, "LTO is currently not supported with transactional memory"); } if ((opts->x_flag_lto_partition_balanced != 0) + (opts->x_flag_lto_partition_1to1 != 0) + (opts->x_flag_lto_partition_none != 0) >= 1) -- cgit v1.1