diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2011-11-22 18:37:16 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2011-11-22 18:37:16 +0000 |
commit | 57ac2606c472c30be27975f137f36b81d0824af8 (patch) | |
tree | d9c627efeb62217e0942238cce58b0177ffc0e93 /gcc/opts.c | |
parent | 73cd7644a7873b52c4a5fd81e20ec05fbfee8274 (diff) | |
download | gcc-57ac2606c472c30be27975f137f36b81d0824af8.zip gcc-57ac2606c472c30be27975f137f36b81d0824af8.tar.gz gcc-57ac2606c472c30be27975f137f36b81d0824af8.tar.bz2 |
opts.c (finish_options): Do not fail for -fgnu-tm.
* opts.c (finish_options): Do not fail for -fgnu-tm.
* gimple-streamer-out.c (output_gimple_stmt): Handle GIMPLE_TRANSACTION.
* gimple-streamer-in.c (input_gimple_stmt): Same.
* lto-cgraph.c (input_overwrite_node): Read tm_clone bit.
(lto_output_node): Write tm_clone bit.
lto/
* lto-lang.c (lto_attribute_table): Handle transaction_pure.
(handle_transaction_pure_attribute): New.
From-SVN: r181629
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -784,8 +784,6 @@ 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) |