https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122936

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 63050
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63050&action=edit
Further reduced logic and added comments

This reduced version of the patch eliminates a lot of unneeded code and adds
comments. One interesting question is do we need to use freeline.  In my tests
of three or four cases with valgrimd I see no problems. It might be good to
check all of the list_read testcases.

Regardless, this too passes all regression testing.

Martin, I don't know if you are able to build gfortran for yourself to try
this. Let me know. It does fix your original test case.

Reply via email to