aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-05-20 08:21:14 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2025-06-13 09:58:17 +0200
commit5a349dc6a6f37997f871f79e2f702182427f85e2 (patch)
tree5de9250769b8a88cef5b2e26898bb292902998b7 /gcc/dwarf2ctf.cc
parent1549bb90c10c5e3ef1c5f2080cdb58dbaee25291 (diff)
downloadgcc-5a349dc6a6f37997f871f79e2f702182427f85e2.zip
gcc-5a349dc6a6f37997f871f79e2f702182427f85e2.tar.gz
gcc-5a349dc6a6f37997f871f79e2f702182427f85e2.tar.bz2
tree-chrec: Use signed_type_for in convert_affine_scev
On s390x-linux I've run into the gcc.dg/torture/bitint-27.c test ICEing in build_nonstandard_integer_type called from convert_affine_scev (not sure why it doesn't trigger on x86_64/aarch64). The problem is clear, when ct is a BITINT_TYPE with some large TYPE_PRECISION, build_nonstandard_integer_type won't really work on it. The patch fixes it similarly what has been done for GCC 14 in various other spots. 2025-05-20 Jakub Jelinek <jakub@redhat.com> * tree-chrec.cc (convert_affine_scev): Use signed_type_for instead of build_nonstandard_integer_type. (cherry picked from commit e38027c8ff449ffadaca449004bb891b9094ad00)
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions