aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2025-03-04 10:44:35 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2025-03-04 10:44:35 +0000
commit78380fd7f743e23dfdf013d68a2f0347e1511550 (patch)
treedc3efa7ba78270b62d73aa25c1c8c780ee8c2d7c /libstdc++-v3/doc
parent1ff01a88c484775fe8b5f1ca46fa24dfe0b14f3d (diff)
downloadgcc-78380fd7f743e23dfdf013d68a2f0347e1511550.zip
gcc-78380fd7f743e23dfdf013d68a2f0347e1511550.tar.gz
gcc-78380fd7f743e23dfdf013d68a2f0347e1511550.tar.bz2
Fix folding of BIT_NOT_EXPR for POLY_INT_CST [PR118976]
There was an embarrassing typo in the folding of BIT_NOT_EXPR for POLY_INT_CSTs: it used - rather than ~ on the poly_int. Not sure how that happened, but it might have been due to the way that ~x is implemented as -1 - x internally. gcc/ PR tree-optimization/118976 * fold-const.cc (const_unop): Use ~ rather than - for BIT_NOT_EXPR. * config/aarch64/aarch64.cc (aarch64_test_sve_folding): New function. (aarch64_run_selftests): Run it.
Diffstat (limited to 'libstdc++-v3/doc')
0 files changed, 0 insertions, 0 deletions