[patch, libgfortran] PR53029 missed optimization in internal read (without implied-do-loop)

Jerry DeLisle jvdelisle@charter.net
Wed May 31 06:17:00 GMT 2017


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



More information about the Fortran mailing list