[patch, fortran, committed] Change 1**k to 1

Thomas Koenig tkoenig@netcologne.de
Tue Apr 30 21:47:00 GMT 2013


Hello world,

the attached patch was committed after Tobias Burnus' OK
in PR 57073 and regression-testing.

	Thomas

2013-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/57071
         * frontend-passes.c (optimize_power):  Simplify
         1**k to 1.

2013-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/57071
         * gfortran.dg/power_5.f90:  New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 709 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130430/22dbcc46/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power_5.f90
Type: text/x-fortran
Size: 853 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130430/22dbcc46/attachment-0001.bin>


More information about the Fortran mailing list