diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-12-01 08:27:58 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-12-01 08:27:58 +0100 |
commit | 6b4f5050a9a5156eb23b9174ff576a77b1149465 (patch) | |
tree | aee5b5dee90397d7a4c1d9984482cdc9fbcfc202 /gcc/tree-ssa-phiopt.c | |
parent | 1072cfdf34f5fda7091282a4780f4974cac306d3 (diff) | |
download | gcc-6b4f5050a9a5156eb23b9174ff576a77b1149465.zip gcc-6b4f5050a9a5156eb23b9174ff576a77b1149465.tar.gz gcc-6b4f5050a9a5156eb23b9174ff576a77b1149465.tar.bz2 |
re PR target/54589 (struct offset add should be folded into address calculation)
PR target/54589
* combine.c (find_split_point): For invalid memory address
nonobj + obj + const, if reg + obj + const is valid addressing
mode, split at nonobj. Use if rather than else if for the
fallback. Comment fixes.
* gcc.target/i386/pr54589.c: New test.
From-SVN: r266707
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions