aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-02-04 15:17:01 +0100
committerRichard Biener <rguenther@suse.de>2020-02-04 15:18:25 +0100
commit5124c34fcc62f0f880ae947542678e28aa2ce703 (patch)
treeed149fabf769e532c99a6fe6f1eecad4cafc740f /gcc/cp/init.c
parent9bc5bea1f3f0ce3927fd86ce728641d087f3d3b5 (diff)
downloadgcc-5124c34fcc62f0f880ae947542678e28aa2ce703.zip
gcc-5124c34fcc62f0f880ae947542678e28aa2ce703.tar.gz
gcc-5124c34fcc62f0f880ae947542678e28aa2ce703.tar.bz2
tree-optimization/93538 - add missing comparison folding case
This adds back a folding that worked in GCC 4.5 times by amending the pattern that handles other cases of address vs. SSA name comparisons. 2020-02-04 Richard Biener <rguenther@suse.de> PR tree-optimization/93538 * match.pd (addr EQ/NE ptr): Amend to handle &ptr->x EQ/NE ptr. * gcc.dg/tree-ssa/forwprop-38.c: New testcase.
Diffstat (limited to 'gcc/cp/init.c')
0 files changed, 0 insertions, 0 deletions