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/gimple-streamer-in.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/gimple-streamer-in.c')
-rw-r--r-- | gcc/gimple-streamer-in.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c index 862c5b0..1facb32 100644 --- a/gcc/gimple-streamer-in.c +++ b/gcc/gimple-streamer-in.c @@ -238,6 +238,10 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, case GIMPLE_PREDICT: break; + case GIMPLE_TRANSACTION: + gimple_transaction_set_label (stmt, stream_read_tree (ib, data_in)); + break; + default: internal_error ("bytecode stream: unknown GIMPLE statement tag %s", lto_tag_name (tag)); |