aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-06-28 10:50:34 +0200
committerRichard Biener <rguenther@suse.de>2022-06-28 12:00:16 +0200
commita3ca1fc5f409e257e9fb9a8165bb4a7068ddebbe (patch)
tree2d7f9e922c8324e5cadc3f6e8bfdbd8e166d4ebd /libphobos/libdruntime
parent6835baee7196eeb03f24f6e650c0d37cbb295647 (diff)
downloadgcc-a3ca1fc5f409e257e9fb9a8165bb4a7068ddebbe.zip
gcc-a3ca1fc5f409e257e9fb9a8165bb4a7068ddebbe.tar.gz
gcc-a3ca1fc5f409e257e9fb9a8165bb4a7068ddebbe.tar.bz2
middle-end/106053 - fold_sign_changed_comparison and large bools
The following fixes a latent issue in the match.pd variant of fold_sign_changed_comparison which replaces an unsigned integer comparison with a signed boolean comparison of the same precision despite the fact that we treat BOOLEAN_TYPEs as only having two valid values. 2022-06-28 Richard Biener <rguenther@suse.de> PR middle-end/106053 * match.pd ((T)a == (T)b): Avoid folding away sign changes in a comparison if we'd truncate to a boolean. * gcc.target/i386/pr106053.c: New testcase.
Diffstat (limited to 'libphobos/libdruntime')
0 files changed, 0 insertions, 0 deletions