diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-01-15 09:11:00 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-01-15 09:11:00 +0100 |
commit | 93aa3c4aca3647645cd5bce724f9d2126de4b5ea (patch) | |
tree | b8edaf2086c909d4288a6456d875c07bcd0e9202 /gcc/tree-if-conv.c | |
parent | 6facd01f982ddeffccb2a66dec2041322f3a9b76 (diff) | |
download | gcc-93aa3c4aca3647645cd5bce724f9d2126de4b5ea.zip gcc-93aa3c4aca3647645cd5bce724f9d2126de4b5ea.tar.gz gcc-93aa3c4aca3647645cd5bce724f9d2126de4b5ea.tar.bz2 |
re PR tree-optimization/88775 (Optimize std::string assignment)
PR tree-optimization/88775
* match.pd (cmp (convert1?@2 addr@0) (convert2? addr@1)): Optimize
equal == 0 equality pointer comparisons some more if compared in
integral types and either one points to an automatic var and the
other to a global, or we can prove at least one points to the middle
or both point to start or both point to end.
* gcc.dg/tree-ssa/pr88775-1.c: New test.
* gcc.dg/tree-ssa/pr88775-2.c: New test.
From-SVN: r267931
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions