[patch, fortran] Remove workaround introduced because of PR80945

Thomas Koenig tkoenig@netcologne.de
Sun Feb 18 16:18:00 GMT 2018


Hello world,

after Paul's fix for PR80945, the code in frontend-passes.c meant
to circumvent this bug is no longer needed. The attached patch
removes it, adding a test case which shows that the optimization
is working.

After this, I think we can finally lay PR 35339 to rest.

Regression-tested. OK for trunk?

Regards

	Thomas

2018-02-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/35339
         * frontend-passes.c (traverse_io_block): Remove workaround for
         PR 80945.

2018-02-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/35339
         * gfortran.dg/implied_do_io_4.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 729 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180218/84fe8337/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implied_do_io_4.f90
Type: text/x-fortran
Size: 774 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180218/84fe8337/attachment-0001.bin>


More information about the Gcc-patches mailing list