aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2016-04-04 09:30:16 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2016-04-04 09:30:16 +0000
commit43b9f499103ccebb9ce00e7c62e11da54334e63a (patch)
tree6684fdba1e474d2726d62599732082794132c876 /gcc/rtl.h
parented2a53e7ca7aafa5fea5316c7fdebdc77fb8f327 (diff)
downloadgcc-43b9f499103ccebb9ce00e7c62e11da54334e63a.zip
gcc-43b9f499103ccebb9ce00e7c62e11da54334e63a.tar.gz
gcc-43b9f499103ccebb9ce00e7c62e11da54334e63a.tar.bz2
re PR rtl-optimization/70484 (Wrong optimization with aliasing and access via char)
2016-04-04 Richard Biener <rguenther@suse.de> PR rtl-optimization/70484 * rtl.h (canon_output_dependence): Declare. * alias.c (canon_output_dependence): New function. * dse.c (record_store): Use canon_output_dependence rather than canon_true_dependence. * gcc.dg/torture/pr70484.c: New testcase. From-SVN: r234709
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 7f0bfa4..79916ad 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -3652,6 +3652,8 @@ extern int anti_dependence (const_rtx, const_rtx);
extern int canon_anti_dependence (const_rtx, bool,
const_rtx, machine_mode, rtx);
extern int output_dependence (const_rtx, const_rtx);
+extern int canon_output_dependence (const_rtx, bool,
+ const_rtx, machine_mode, rtx);
extern int may_alias_p (const_rtx, const_rtx);
extern void init_alias_target (void);
extern void init_alias_analysis (void);