re PR rtl-optimization/70484 (Wrong optimization with aliasing and access via char)
authorRichard Biener <rguenther@suse.de>
Mon, 4 Apr 2016 09:30:16 +0000 (09:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Apr 2016 09:30:16 +0000 (09:30 +0000)
commit43b9f499103ccebb9ce00e7c62e11da54334e63a
tree6684fdba1e474d2726d62599732082794132c876
parented2a53e7ca7aafa5fea5316c7fdebdc77fb8f327
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
gcc/ChangeLog
gcc/alias.c
gcc/dse.c
gcc/rtl.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr70484.c [new file with mode: 0644]