[Bug fortran/63427] hwint.h:250:29: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

rsandifo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 24 00:05:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63427

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Mon Feb 23 23:02:50 2015
New Revision: 220921

URL: https://gcc.gnu.org/viewcvs?rev=220921&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gfortran.dg/integer_exponentiation_6.F90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/wide-int.cc



More information about the Gcc-bugs mailing list