aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2023-12-11 15:09:28 -0300
committerAlexandre Oliva <oliva@gnu.org>2023-12-11 15:31:50 -0300
commita8a3d832e609501002dee54150abfd96a28fe532 (patch)
treebed9291469dded08d704bfb3c2ff47a72a7b284f /gcc/c
parent1e2ea685bdea9aa65da2bf4137264d14f38a6f0b (diff)
downloadgcc-a8a3d832e609501002dee54150abfd96a28fe532.zip
gcc-a8a3d832e609501002dee54150abfd96a28fe532.tar.gz
gcc-a8a3d832e609501002dee54150abfd96a28fe532.tar.bz2
-finline-stringops: avoid too-wide smallest_int_mode_for_size [PR112784]
smallest_int_mode_for_size may abort when the requested mode is not available. Call int_mode_for_size instead, that signals the unsatisfiable request in a more graceful way. for gcc/ChangeLog PR middle-end/112784 * expr.cc (emit_block_move_via_loop): Call int_mode_for_size for maybe-too-wide sizes. (emit_block_cmp_via_loop): Likewise. for gcc/testsuite/ChangeLog PR middle-end/112784 * gcc.target/i386/avx512cd-inline-stringops-pr112784.c: New.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions