aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2020-09-07 21:41:45 +0200
committerHarald Anlauf <anlauf@gmx.de>2020-09-07 21:42:30 +0200
commit9164caf25cb210ad0a69357b226e39913aff00d1 (patch)
tree0c4cd26a76ccc318b9cccc08b07be4916cf82cc0 /gcc/tree-vrp.c
parent6001db79c477b03eacc7e7049560921fb54b7845 (diff)
downloadgcc-9164caf25cb210ad0a69357b226e39913aff00d1.zip
gcc-9164caf25cb210ad0a69357b226e39913aff00d1.tar.gz
gcc-9164caf25cb210ad0a69357b226e39913aff00d1.tar.bz2
PR fortran/96711 - ICE with NINT() for integer(16) result
When rounding a real to the nearest integer, temporarily convert the real argument to a longer real kind when the result is of type/kind integer(16). gcc/fortran/ChangeLog: * trans-intrinsic.c (build_round_expr): Use temporary with appropriate kind for conversion before rounding to nearest integer when the result precision is 128 bits. gcc/testsuite/ChangeLog: * gfortran.dg/pr96711.f90: New test.
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions