re PR fortran/88579 (Calculating power of powers of two)
authorHarald Anlauf <anlauf@gmx.de>
Tue, 22 Jan 2019 21:23:57 +0000 (21:23 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 22 Jan 2019 21:23:57 +0000 (21:23 +0000)
commit358ebd8fbfb370b39b331c10e161ff4ea8f7e0e5
tree993d7d58c2216414305fe145aee6f0353b20c007
parent7a8c906ca4309e46f626b7e387c9cd2c474a29e7
re PR fortran/88579 (Calculating power of powers of two)

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.

From-SVN: r268163
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/power_8.f90 [new file with mode: 0644]