From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) by sourceware.org (Postfix) with ESMTPS id 47F3138555B5 for ; Tue, 2 May 2023 15:51:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 47F3138555B5 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-441134c09cdso2884781e0c.0 for ; Tue, 02 May 2023 08:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683042702; x=1685634702; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xU7/oHBTWfDMxqh/IzCRayr4M8VpWRmlelyz9K1Eq90=; b=QZlTRzldgA2UHjtQL83wwEeu2zM1cPZJuKMO0v/Bvf9a1VSqnCcaP18wgug14TEwFT YAjukx5quFQlpNINYcCZnQjmZibShgkISoF4G+W+G7rNNKC+43EokiXkgXFDvJtJ7dru 5WAweTrVzAO3LIpAS5XHljkvAD22Yq+/qKMy0IjVJyFGjV0ICLafBuywU6dNxL9UAF64 6EqLCpWM+OZmjmQreJ5DPhCkZiUycViGxa7P3VEh5WwcUysnZmD66donLJdhVzl++JjE cXWec0EqvMYUUvI7APVfY4ubykoaf5HaQQSqYMgTyJsriEIt3XWV/osNqumqnFVTR98g trmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683042702; x=1685634702; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xU7/oHBTWfDMxqh/IzCRayr4M8VpWRmlelyz9K1Eq90=; b=QTj8YSuVNa0gSVv/s0zWfeH7MGy0rdLbeAvl79iGo635v/63z148nyVIqDY32Zb0GM 1UEYW+Bhxw6X42sXR4HUEvO2t/yCik7BHlnI6vLxtDYB+GpbqMFy8YYtDZI104UQf621 0H2xHK3BxL3cYyOJE58447wmKwJrYe5DYM/GeqYxSxsmggfvTePu6LHgCh5ZZ1b8KeyP v2A7DP1S69hrcIIigWxvuB+XaspGCOfCoeVfrn+b9BSO/Iby/Sea1FjDQ3/QKMUjL5xW pl67fHdMYWs33pr7VYkAX0qEgHxveifkC6Q49/pjbs2uVBjLoSCpfnGHo0uow0vxBtLV dEmQ== X-Gm-Message-State: AC+VfDxk6umjAsCMTmH8PGKmGWeU/C5d1Se3Qfab/wRW9v/+ssHj9LvG ezy3TbfXlahc7hQya7YmqEZiOBcFZg95azrzdJw= X-Google-Smtp-Source: ACHHUZ7scCAUdNxIVU6Fcl2a0vv/mqcBZ6n80JpEmmHdv1gGKqDlbK/9G0qKID3WZoVwxB2wzUrzL4FR6a5rxT78eqk= X-Received: by 2002:a67:f983:0:b0:430:162b:deed with SMTP id b3-20020a67f983000000b00430162bdeedmr208727vsq.20.1683042702119; Tue, 02 May 2023 08:51:42 -0700 (PDT) MIME-Version: 1.0 References: <20230502122155.2576725-1-romain.naour@gmail.com> In-Reply-To: From: Kito Cheng Date: Tue, 2 May 2023 23:51:31 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: fix build issue with gcc 4.9.x To: Jeff Law Cc: Romain Naour , gcc-patches@gcc.gnu.org, kito.cheng@sifive.com, juzhe.zhong@rivai.ai Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > > Pushed to trunk, thanks for catching that, that's definitely should > > use log2 no matter C++03 or C++11, > > but I think GCC allows the usage of C++11 according to > > https://gcc.gnu.org/install/prerequisites.html :P > Yes, we should be able to use C++11. I'd like to get that to C++17 at > some point, but I think the biggest problem is the desire to support > bootstrapping on something like centos7/rhel7. At least we have auto and range based for loop, I am satisfied with that enough. > > jeff