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.
Showing
gcc/testsuite/gcc.dg/tree-ssa/forwprop-38.c
0 → 100644
Please
register
or
sign in
to comment