arith.c (arith_power): Rework overflow of an integer to an integer exponent.
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 15 Jun 2019 00:38:55 +0000 (00:38 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 15 Jun 2019 00:38:55 +0000 (00:38 +0000)
commit2789efe3ee85f85ec83139fab6930cf2175be06a
tree9817f4631ecde77ff526033d2da53681378a1023
parent4e20bd42bc04959c4b2f845352046fcfd5313484
arith.c (arith_power): Rework overflow of an integer to an integer exponent.

2019-06-14  Steven G. Kargl  <kargl@gcc.gnu.org>

* arith.c (arith_power): Rework overflow of an integer to an integer
exponent.

2019-06-14  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/integer_exponentiation_4.f90: Update test.
* gfortran.dg/integer_exponentiation_5.F90: Ditto.
* gfortran.dg/no_range_check_1.f90: Ditto.

From-SVN: r272320
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/integer_exponentiation_4.f90
gcc/testsuite/gfortran.dg/integer_exponentiation_5.F90
gcc/testsuite/gfortran.dg/no_range_check_1.f90