re PR tree-optimization/91108 (Fails to pun through unions)
authorRichard Biener <rguenther@suse.de>
Mon, 8 Jul 2019 11:46:26 +0000 (11:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jul 2019 11:46:26 +0000 (11:46 +0000)
commit08dfb1d682a707f7319aafec28edda424395dae5
treedd659e7669e81dbe8c6fa879216ee29a505dd80a
parentb68cae81760cd158ee465466280fc0df58e6a768
re PR tree-optimization/91108 (Fails to pun through unions)

2019-07-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91108
* tree-ssa-sccvn.c: Include builtins.h.
(vn_reference_lookup_3): Use only alignment constraints to
verify same-valued store disambiguation.

* gcc.dg/tree-ssa/ssa-fre-61.c: Adjust back.
* gcc.dg/tree-ssa/ssa-fre-78.c: New testcase.

From-SVN: r273232
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-61.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-78.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c