read CSV data consistently from string or file

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Sun Oct 14 10:02:00 GMT 2018


On 13 October 2018 21:43:09 CEST, Jerry DeLisle <jvdelisle@charter.net> wrote:


>The patch attached to pr78351 fixes this and regression tests cleanly.
>
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78351
>
>I am wondering if I should put the check behind some condition related 
>to the standards to avoid the extra string scan or just leave it as is 
>in the patch.

Please only for compile_options.allow_std & GFC_STD_LEGACY

Could you use memchr to look for the comma, eventually?

TIA



More information about the Fortran mailing list