summaryrefslogtreecommitdiff
path: root/gcc/tree-dfa.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2004-09-14 22:45:54 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2004-09-14 18:45:54 -0400
commit1810f6edaad290e6c4b8003deac8a2be1dd0fb68 (patch)
tree73cfebf5466c3fb2d5a5c937f32179fafde5c98a /gcc/tree-dfa.c
parent0e6d31fb864425c9070798db46d4975ba40de1a6 (diff)
downloadgcc-1810f6edaad290e6c4b8003deac8a2be1dd0fb68.tar.gz
re PR tree-optimization/15262 ([tree-ssa] Alias analyzer cannot handle addressable fields)
PR tree-optimization/15262 * tree-dfa.c (dump_variable): Also print the type of the variable. * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If two memory tags are of conflicting alias sets but have no aliased symbols in common, add one tag to the alias set of the other. (setup_pointers_and_addressables): Remove hack to deal with programs with no aliased symbols. (may_alias_p): Don't special case aggregate types. testsuite/ChangeLog PR tree-optimization/15262 * gcc.c-torture/execute/pr15262-1.c: New test. * gcc.c-torture/execute/pr15262-2.c: New test. From-SVN: r87515
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r--gcc/tree-dfa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c
index 7f552ca928f..533b98884e6 100644
--- a/gcc/tree-dfa.c
+++ b/gcc/tree-dfa.c
@@ -528,6 +528,9 @@ dump_variable (FILE *file, tree var)
fprintf (file, ", UID %u", (unsigned) ann->uid);
+ fprintf (file, ", ");
+ print_generic_expr (file, TREE_TYPE (var), dump_flags);
+
if (ann->type_mem_tag)
{
fprintf (file, ", type memory tag: ");