aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-12-07 09:46:38 +0100
committerJakub Jelinek <jakub@redhat.com>2023-12-07 09:46:38 +0100
commitf74939bd539c87f669e35042f7bc7aa47f0c29eb (patch)
tree9d2e25876539cc252044ef2ee432efea3963a56d /gcc/expr.cc
parent0d79636b8d2c7f0da16fbf5f786993783a4389ff (diff)
downloadgcc-f74939bd539c87f669e35042f7bc7aa47f0c29eb.zip
gcc-f74939bd539c87f669e35042f7bc7aa47f0c29eb.tar.gz
gcc-f74939bd539c87f669e35042f7bc7aa47f0c29eb.tar.bz2
tree-ssa-dce: Fix up maybe_optimize_arith_overflow for BITINT_TYPE [PR112880]
The following testcase ICEs because maybe_optimize_arith_overflow uses build_nonstandard_integer_type, which is inappropriate if type is large BITINT_TYPE. 2023-12-07 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/112880 * tree-ssa-dce.cc (maybe_optimize_arith_overflow): Use unsigned_type_for instead of conditionally calling build_nonstandard_integer_type. * gcc.dg/bitint-49.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions