This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libgfortran] PR53029 missed optimization in internal read (without implied-do-loop)
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Thomas Koenig <tkoenig at netcologne dot de>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 May 2017 12:33:28 -0700
- Subject: Re: [patch, libgfortran] PR53029 missed optimization in internal read (without implied-do-loop)
- Authentication-results: sourceware.org; auth=none
- References: <bce47860-bff0-7120-5842-9a7652fd4d24@charter.net> <2c00d8e7-700e-c13e-dbb2-d1928cc3c482@netcologne.de>
On 05/29/2017 09:51 AM, Thomas Koenig wrote:
Hi Jerry,
Regression tested on x86_64. I have added a test case which will check the
execution time of the loop. The previous results of the REAd were correct,
just took a long time on large arrays.
OK for trunk?
OK.
It might be good if you followed Manfred's suggestion and turned
down the timeout to something like 0.5 seconds.
Thanks for the patch!
I would also consider backporting, the speedup is just so
large. What do others think?
Regards
Thomas
Committed.
A gcc/testsuite/gfortran.dg/read_5.f90
M gcc/testsuite/ChangeLog
M libgfortran/ChangeLog
M libgfortran/io/list_read.c
Committed r248577
Thanks,
Jerry