From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63171 invoked by alias); 14 Oct 2018 10:02:37 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 63158 invoked by uid 89); 14 Oct 2018 10:02:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:543, H*i:sk:5e0503b, H*f:sk:5e0503b X-HELO: mail-wm1-f54.google.com Received: from mail-wm1-f54.google.com (HELO mail-wm1-f54.google.com) (209.85.128.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Oct 2018 10:02:34 +0000 Received: by mail-wm1-f54.google.com with SMTP id z25-v6so20927320wmf.1 for ; Sun, 14 Oct 2018 03:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:in-reply-to:references:mime-version:content-transfer-encoding :subject:to:from:message-id; bh=gACSdBiou0XqvDRHAlBtF/EuNkYm6EmvRnhJIdeO+lE=; b=sY6DkoY6i2nM4ug2mssL8HLLNLIH2vA5M2emX6deJXdUpSyStdgnrikGnSh+Crf7Aw oOr4L3sXa1A5CxPA1D+0noPaedZXZedlOvdfLXBS8Y+9md6momcUFh9FdvkevdV2Ux1q 7O22rKqdIF3ySzkPwteSJ+QCTxE+qyqvRWaY3h2mk76yU4fj1d8pNIAVHRWed/R4Gk1r 2OXnIQw7T/pW3bPFqNOPrFHdVjGcVKhLAAAOCivIBV29+wG2YkFcNq8bd2cn/7WqZ+0p uexh3a9yvFrGbQm9SBN9DUGZ1OROEcsq6Zd0v369j4psgVnWTzIRtD4KDL31TE72yjQ+ LeWQ== Return-Path: Received: from s49-gx7-B.weghof (217-149-175-64.nat.highway.telekom.at. [217.149.175.64]) by smtp.gmail.com with ESMTPSA id l70-v6sm15435099wma.0.2018.10.14.03.02.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Oct 2018 03:02:31 -0700 (PDT) Date: Sun, 14 Oct 2018 10:02:00 -0000 In-Reply-To: <5e0503be-07fb-8479-bb70-cb7fddc9dbc4@charter.net> References: <10B680D9-A65E-4B86-9F7C-760184201DAB@contoso.com> <0A2AF1BD-224D-4EC7-BD4C-52CEBBDAF1AF@erdc.dren.mil> <80D3D374-24CC-4283-BDDC-6355F0E05AC6@erdc.dren.mil> <10d458a1-d2e6-fd1e-abc0-0126f03d0271@charter.net> <6cdf9426-2c5b-bb4d-99e3-677239fcb451@charter.net> <5e0503be-07fb-8479-bb70-cb7fddc9dbc4@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: read CSV data consistently from string or file To: fortran@gcc.gnu.org,Jerry DeLisle ,"Browning, Robert S IV ERDC-RDE-GSL-MS CIV" ,"fortran@gcc.gnu.org" From: Bernhard Reutner-Fischer Message-ID: X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00063.txt.bz2 On 13 October 2018 21:43:09 CEST, Jerry DeLisle wro= te: >The patch attached to pr78351 fixes this and regression tests cleanly. > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78351 > >I am wondering if I should put the check behind some condition related=20 >to the standards to avoid the extra string scan or just leave it as is=20 >in the patch. Please only for compile_options.allow_std=C2=A0&=C2=A0GFC_STD_LEGACY Could you use memchr to look for the comma, eventually? TIA