diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-22 23:33:20 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-22 23:33:20 +0000 |
commit | 5a49b0e17f1e9aa8cae4e69f93cc19d6824bdf7c (patch) | |
tree | d729fab0bca584700b3abb9898aff081a36e46f9 /gcc/tree-dfa.c | |
parent | f77b9d3c8bd42fcf3a74aec63627d72be2282fe4 (diff) | |
download | gcc-5a49b0e17f1e9aa8cae4e69f93cc19d6824bdf7c.tar.gz |
PR tree-optimization/16721
* tree-dfa.c (dump_variable): Show TREE_THIS_VOLATILE.
* tree-ssa-alias.c (create_memory_tag): Move setting of
TREE_THIS_VOLATILE ...
(get_tmt_for): ... here.
testsuite/ChangeLog
PR tree-optimization/16721
* testsuite/gcc.dg/tree-ssa/pr16721.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r-- | gcc/tree-dfa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 4e65c5dffc8..9db0cbb243a 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -552,6 +552,9 @@ dump_variable (FILE *file, tree var) if (is_global_var (var)) fprintf (file, ", is global"); + if (TREE_THIS_VOLATILE (var)) + fprintf (file, ", is volatile"); + if (is_call_clobbered (var)) fprintf (file, ", call clobbered"); |