From ea0e88d1e2658f33c84769c883246c1e686827f8 Mon Sep 17 00:00:00 2001 From: aldyh Date: Tue, 22 Nov 2011 18:37:16 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181629 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gimple-streamer-in.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/gimple-streamer-in.c') diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c index 862c5b08e3a..1facb3296f6 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)); -- cgit v1.2.1