From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by sourceware.org (Postfix) with ESMTPS id 6AF5F385DC00 for ; Tue, 9 Jun 2020 01:33:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6AF5F385DC00 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-vs1-xe2d.google.com with SMTP id j13so11007505vsn.3 for ; Mon, 08 Jun 2020 18:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=grVaGnMu45TN6RbDIguZcBYO9JcVb7TPLkr1b32hNrw=; b=naJ/Xl/ljJTCWwg3bUKQRgqQaI5mjFQSm849Ws6lGisGh0c2cqAgc/WUhJNepMDw9R kYw5a6iVLy0RptoleYKJw/xzJVTW4xrLUBeyzbKF0INteMtL3wYH+8VES207kkfMZMlc OW+wK72pTK5U29tfL/tsVaQXWYFvOLJiQlOQwUi5mLgGIYssQX09X0kBPn4RkfGGRfge +gr29RVtT3X4KsTTpJ4RQw9oxqn/+kv05/nDKpAlEZsMM2rnLOPl4POYPmkd7slhfIcy FDC056cjtiBfrdv5j5HimQ/AFM76+CpBdcu/7ZaZjorJPie6LmO7EjbJgpxwTPh+O2ic tM1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=grVaGnMu45TN6RbDIguZcBYO9JcVb7TPLkr1b32hNrw=; b=cmGGQLrdUn2ViGUEEJqgpvS0VuxNf/beH5xmnd9X3xHvLxz878dDNPpDq6e1stTzFt 8Zi9FAiXjpPEc7yFf6Zm7uozmUmBZdU0LP+ff3yDf4sPTRSf2/Eq53PtY3T92DQXV7SI jghGTYGo6fyC22wdLNCk/JLY6+iSiyl4albdNNTkojGg/kSvJ6/tRCV0+cRwaX0Bf0uM w15rtkOgUTXKQHrvIG79FcLcAyqcwSZ5VWE4we8ahTxNe3hSseBWjePCOLJf+KUWR6Hr P5QXF50B5tfiMQ1hSCDx5Au3e5E3t3ibvCBb8TgjNP8j1y0A6zD76AIU/qOH/DjP99Xh KzoA== X-Gm-Message-State: AOAM531NxCWjx4fgkhjjflsmDpZ0cnMH9L4m/c4SoZv/2ZWX7IKLd2tv jZPEoHH5EPHCbAj0N+MmVuZREZlktjO5DNkUfuOWmg== X-Google-Smtp-Source: ABdhPJytGu7zQiNBa6Ye6QhvFIrfTvmoyLewScR8wbuO2xKmJU2/2m2YD+asV4RuBTxVPhTvxfSpEA2hZbNtZ/QvkX0= X-Received: by 2002:a67:8982:: with SMTP id l124mr1186460vsd.172.1591666384902; Mon, 08 Jun 2020 18:33:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Mon, 8 Jun 2020 18:32:54 -0700 Message-ID: Subject: Re: riscv libsanitizer: error: missing terminating ' character To: Jonathan Wakely Cc: Zdenek Sojka , gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 01:33:06 -0000 On Fri, Jun 5, 2020 at 9:11 AM Jonathan Wakely via Gcc-help wrote: > > It seems -std=gnu++11 should be replaced by -std=gnu++14 ; but since I > > couldn't find anyone else reporting this issue, maybe the problem is on my > > side? > > The single quote as a digit separator is a C++14 feature, so the > libsanitizer code should not be using it. The libsanitizer sources are imported from an external tree. We can't dictate what language version they are written in. It looks like we do have a set of local patches that we apply after a merge. So someone could add a local patch for this to remove the single quotes if necessary. I can reproduce on an x86_64-linux system, so this isn't a RISC-V specific problem. They are just warnings that don't affect the build. Probably no one noticed because the build didn't break. I'd suggest filing a bug report. Jim