From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by sourceware.org (Postfix) with ESMTPS id 2598A3858D28 for ; Tue, 29 Aug 2023 23:32:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2598A3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=kitware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kitware.com Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-410af8f75d9so32105081cf.0 for ; Tue, 29 Aug 2023 16:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kitware.com; s=google; t=1693351968; x=1693956768; darn=gcc.gnu.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ye/xTzDI165zNnCZxHpMMZV7hCql3UIWeTBF25f1qDc=; b=Z2/egwxs7tCGvtmPTmod/FpqplDm6ziE7X24XvZWwY69LxxkKUzgw1uvCtPTFP+GA2 +C2+XlFnMXEmjK+g1qUM1xLCSUBLgp0Ix9hE6oKsLnUG8wftSCfXJ3sHmz782tjlTjfn 9YKZb+xc+HFJzv7ZWVSRreTb4r55l0qw1FEIA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693351968; x=1693956768; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ye/xTzDI165zNnCZxHpMMZV7hCql3UIWeTBF25f1qDc=; b=QT7a4/j5a9hsug+KnGgm4ZxU48Zp/5c03/oz4BLrnDUX4IE6HKoDtb/cx3zUNICCic zv9sGJog11giNNQAKAvxm4aWipyEUSSHhm+WBPfI/i+V7TYkxo4a7pjJCXXiUBp/QjkZ 7+blqg+IaytIlyZtMubYyL+VMp2Z7NfqQlrvrirmsTcLIk0TOBcJZsTOC5SAXIWH+tp+ iBAeXdgtOHB5g1OI/QX/TmBZM0lJ3JmBvMXg8I/siGmpFzcdTQG3fmrPSzP6e8thgIFi lpdPj0KSAlydLEDIJMCGESbq4mDAIhsYCBP/8kXO4s8oTDH23adLnPuSkmNvn7ibEFrB 7vqQ== X-Gm-Message-State: AOJu0YxeETyJ7L7KifAl+CTbI6nXzt5mPQsnAX+2Bpe9HeYwdWLt4fQu yzRGasO9LrQzk6NDiH6UgXMIuBBybFM92LdaZ7FTRQ== X-Google-Smtp-Source: AGHT+IEpCwCbVR0ChtyKbdO1yp+/WhH8fOc2eRXyZbweasdasYD7uWBFLgs35YQX+Csmlb0sU2qARg== X-Received: by 2002:a05:622a:170b:b0:412:2f5e:2779 with SMTP id h11-20020a05622a170b00b004122f5e2779mr660694qtk.24.1693351967963; Tue, 29 Aug 2023 16:32:47 -0700 (PDT) Received: from localhost (cpe-142-105-146-128.nycap.res.rr.com. [142.105.146.128]) by smtp.gmail.com with ESMTPSA id js9-20020a05622a808900b00410ad87b1e0sm3354452qtb.46.2023.08.29.16.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 16:32:47 -0700 (PDT) Date: Tue, 29 Aug 2023 19:32:45 -0400 From: Ben Boeckel To: Richard Biener Cc: gcc@gcc.gnu.org Subject: Re: isl 0.26 C++17 issues when bootstrapping with GCC Message-ID: References: <7EFBECCC-4282-4A21-88D6-CE869C7E9B89@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7EFBECCC-4282-4A21-88D6-CE869C7E9B89@gmail.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Spam-Status: No, score=-4.8 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Aug 29, 2023 at 18:57:37 +0200, Richard Biener wrote: > I suppose for bootstrapping we could disable ISL during stage1 since > it enables an optional feature only. Other than that GCC only > requires a C++11 compiler for building, so ISL breaks that constraint > with requiring C++17. Note that it doesn't *require* it per sé; the tests that try it are compiled if C++17 support was detected at all. The headers seem to just have optional header-only `std::any`-using APIs if C++17 is around. `isl` supporting a flag to disable the tests would also work, but that doesn't fix 0.26. It also doesn't mean it won't start requiring C++17 at some point in the future. In light of that, I feel that skipping it for bootstrap is probably the right solution here. Alas, my skill with autotools is closer to the caveman-with-club level rather than that of a surgeon. --Ben