diff options
author | Richard Biener <rguenther@suse.de> | 2019-10-11 13:10:15 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-10-11 13:10:15 +0000 |
commit | 1284e2b104a81ad93daab5110cd844981e501086 (patch) | |
tree | d773f6808cd52e7a7ccf0619e48f94f89c3e7c28 /gcc/fortran/trans-expr.c | |
parent | e5207f1a6528877713109dc59b8db6c62a6eca28 (diff) | |
download | gcc-1284e2b104a81ad93daab5110cd844981e501086.zip gcc-1284e2b104a81ad93daab5110cd844981e501086.tar.gz gcc-1284e2b104a81ad93daab5110cd844981e501086.tar.bz2 |
re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed)
2019-10-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/90883
PR tree-optimization/91091
* tree-ssa-sccvn.c (vn_reference_lookup_3): Use correct
alias-sets both for recording VN table entries and continuing
walking after translating through copies. Handle same-sized
reads from SSA names by returning the plain SSA name.
(eliminate_dom_walker::eliminate_stmt): Properly handle
non-size precision stores in redundant store elimination.
* gcc.dg/torture/20191011-1.c: New testcase.
* gcc.dg/tree-ssa/ssa-fre-82.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-83.c: Likewise.
* gcc.dg/tree-ssa/redundant-assign-zero-1.c: Disable FRE.
* gcc.dg/tree-ssa/redundant-assign-zero-2.c: Likewise.
From-SVN: r276882
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions