re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too large...
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 23 Feb 2015 23:02:50 +0000 (23:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 23 Feb 2015 23:02:50 +0000 (23:02 +0000)
commit025e5647099ed6387bd4d5f4a856c7cca77ca244
treed45ea001d353538ed0b73bde01cbc59ecde404cd
parent8628d6e6502c436e94fecbcbe6770ea56757c18e
re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too large for 64-bit type 'long int')

gcc/
PR fortran/63427
* wide-int.cc (wi::from_mpz): Cope with unwrapped values that are
too big for a wide_int.  Implement missing wrapping operation.

gcc/testsuite/
PR fortran/63427
* gfortran.dg/integer_exponentiation_6.F90: New test.

From-SVN: r220921
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/integer_exponentiation_6.F90 [new file with mode: 0644]
gcc/wide-int.cc