summaryrefslogtreecommitdiff
path: root/gcc/gimple-pretty-print.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-08 22:26:37 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-08 22:26:37 +0000
commit1910089e3529a2ef4cec042003758dc1d67173a3 (patch)
treea216d949954f2fa084d0f5e143e1be32b84e03fd /gcc/gimple-pretty-print.c
parent5cf40b7e54256e2dd9b4abd82876a4b32bb28e97 (diff)
downloadgcc-1910089e3529a2ef4cec042003758dc1d67173a3.tar.gz
* trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE
if GTMA_HAS_NO_INSTRUMENTATION. (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. * gimple-pretty-print.c (dump_gimple_transaction): Handle GTMA_HAS_NO_INSTRUMENTATION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r--gcc/gimple-pretty-print.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index e7e821ded46..8c24a57d6d6 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -1399,6 +1399,11 @@ dump_gimple_transaction (pretty_printer *buffer, gimple gs, int spc, int flags)
pp_string (buffer, "GTMA_DOES_GO_IRREVOCABLE ");
subcode &= ~GTMA_DOES_GO_IRREVOCABLE;
}
+ if (subcode & GTMA_HAS_NO_INSTRUMENTATION)
+ {
+ pp_string (buffer, "GTMA_HAS_NO_INSTRUMENTATION ");
+ subcode &= ~GTMA_HAS_NO_INSTRUMENTATION;
+ }
if (subcode)
pp_printf (buffer, "0x%x ", subcode);
pp_string (buffer, "]");