diff options
author | Richard Guenther <rguenther@suse.de> | 2007-08-23 13:36:43 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-08-23 13:36:43 +0000 |
commit | 9f7b7ba4c4087874da78ad591eaf13fa99ee1c31 (patch) | |
tree | ee35dc776b92a19cb81bb6d592ec5a01e689d130 /gcc/tree-pretty-print.c | |
parent | 5799f73221dddf783210a43c6a6eeb75afe10efd (diff) | |
download | gcc-9f7b7ba4c4087874da78ad591eaf13fa99ee1c31.zip gcc-9f7b7ba4c4087874da78ad591eaf13fa99ee1c31.tar.gz gcc-9f7b7ba4c4087874da78ad591eaf13fa99ee1c31.tar.bz2 |
tree-pretty-print.c (dump_generic_node): Annotate GIMPLE_MODIFY_STMTs with volatile ops with "{v}".
2007-08-23 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Annotate
GIMPLE_MODIFY_STMTs with volatile ops with "{v}".
* gcc.dg/tree-ssa/fprinf-1.c: Adjust patterns.
* gcc.dg/tree-ssa/fprinf-chk-1.c: Likewise.
* gcc.dg/tree-ssa/prinf-1.c: Likewise.
* gcc.dg/tree-ssa/prinf-chk-1.c: Likewise.
* gcc.dg/tree-ssa/vfprinf-chk-1.c: Likewise.
* gcc.dg/tree-ssa/vfprinf-chk-1.c: Likewise.
* gcc.dg/tree-ssa/vprinf-chk-1.c: Likewise.
* gcc.dg/tree-ssa/vprinf-chk-1.c: Likewise.
From-SVN: r127741
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 540e611..265a56a 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -1081,6 +1081,13 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, if (TREE_CODE (node) == GIMPLE_MODIFY_STMT && MOVE_NONTEMPORAL (node)) pp_string (buffer, "{nt}"); + if (TREE_CODE (node) == GIMPLE_MODIFY_STMT) + { + stmt_ann_t ann; + if ((ann = stmt_ann (node)) + && ann->has_volatile_ops) + pp_string (buffer, "{v}"); + } pp_space (buffer); dump_generic_node (buffer, GENERIC_TREE_OPERAND (node, 1), spc, flags, false); |