aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-05-13 10:53:42 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-05-13 10:53:42 +0000
commit2ae1d1b8b2284ea21a7d4dac20dd574e24ed0138 (patch)
tree9e27beb313e792b09ca9438f61a123ebc466411f /gcc/alias.c
parent6ef9367656a2bbe734f134a029f7880b9b62227f (diff)
downloadgcc-2ae1d1b8b2284ea21a7d4dac20dd574e24ed0138.zip
gcc-2ae1d1b8b2284ea21a7d4dac20dd574e24ed0138.tar.gz
gcc-2ae1d1b8b2284ea21a7d4dac20dd574e24ed0138.tar.bz2
re PR middle-end/66110 (uint8_t memory access not optimized)
2015-05-13 Richard Biener <rguenther@suse.de> PR middle-end/66110 * alias.c (alias_sets_conflict_p): Do not treat has_zero_child specially. * Makefile.in (dfp.o-warn): Add -Wno-strict-aliasing. * gcc.dg/alias-2.c: Adjust. * gcc.dg/tree-ssa/ssa-dse-17.c: New testcase. From-SVN: r223126
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 7d9a3d9..4bbad31 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -470,15 +470,13 @@ alias_sets_conflict_p (alias_set_type set1, alias_set_type set2)
/* See if the first alias set is a subset of the second. */
ase = get_alias_set_entry (set1);
if (ase != 0
- && (ase->has_zero_child
- || ase->children->get (set2)))
+ && ase->children->get (set2))
return 1;
/* Now do the same, but with the alias sets reversed. */
ase = get_alias_set_entry (set2);
if (ase != 0
- && (ase->has_zero_child
- || ase->children->get (set1)))
+ && ase->children->get (set1))
return 1;
/* The two alias sets are distinct and neither one is the