[Bug fortran/88579] Calculating power of powers of two

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 22 21:24:00 GMT 2019


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Jan 22 21:23:57 2019
New Revision: 268163

URL: https://gcc.gnu.org/viewcvs?rev=268163&root=gcc&view=rev
Log:
2019-01-22  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/88579
        * trans-expr.c (gfc_conv_power_op): Handle cases of (2**e) ** integer
        and (- 2**e) ** integer.

2019-01-22  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/88579
        * gfortran.dg/power_8.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/power_8.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list