diff options
author | Richard Biener <rguenther@suse.de> | 2022-05-23 11:41:50 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-05-24 08:20:11 +0200 |
commit | d918faea1217596877a35c4946500399731fbbd3 (patch) | |
tree | f098124df1f68ecd2095ffa6fbc81ba6e696fb59 /gcc/fortran | |
parent | 8fa8bca9f53fcfdedc2b4fa55093dbd1ab7abbd1 (diff) | |
download | gcc-d918faea1217596877a35c4946500399731fbbd3.zip gcc-d918faea1217596877a35c4946500399731fbbd3.tar.gz gcc-d918faea1217596877a35c4946500399731fbbd3.tar.bz2 |
tree-optimization/105629 - spaceship recognition regression
With the extra GENERIC folding we now do to
(unsigned int) __v._M_value & 1 != (unsigned int) __v._M_value
we end up with a sign-extending conversion to unsigned int
rather than the sign-conversion to unsigned char we expect.
Relaxing that fixes the regression.
2022-05-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/105629
* tree-ssa-phiopt.cc (spaceship_replacement): Allow
a sign-extending conversion.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions