DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46GNSxUf160729 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=veHLFnNh X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEEF3384A056 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1721172537; bh=sFzPfb044q8Oc4B7GWErMSXgQO7fcDXPxwkk4AXuYZg=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=veHLFnNhhw96MZI1U1J9vDHxQI3cmi4fK++G92yUWfFgdpZPMD+XGT0QSOYQqfKqx 0GKOIwRpvsvvQcOsR94r8kgabmgaCy6p35x2nrlY3RdYt4ThDviTs5EdPHJp6wYhcq gzPxMvga0rd9dUWWJmPvnkVDJw2ItTsbU2WOWA4U= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 006D03858C56 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 006D03858C56 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721172480; cv=none; b=KwodYOJckNWQueBv0+tM8DdbKrystPEBnOodTEZV0vQk4NsbO7KBcJtgK3D/r06D5btNLz9nb3Y1bGxMgLEzftYWycJhrq+fi+Zix3Xtmy/794SOa3K31bDB4cp7sEnEIBIyTf/B6ZBIwAraaoPySxMsUcFZmPZJjJ5VWwQHOGM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721172480; c=relaxed/simple; bh=wZ7GxRrRb+MemXPKdZ7tFdlf13FPJesktmYIRz419kc=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=K6psFTCUe5V4JdQGvW74oW6ndMxLTTDhgjfwo2WHeLYi0bIesi0syOlNlGUqfgJPqfsktAyDOb9Of8dLr3j+T1xou1R3fzpI/8imkcNK+aYdZsTnmjV4LOyoCtGsCVlp1vsGufwhpEbXla/qsGFqKhsckio+SF/Edl+xlLNVaUQ= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721172477; x=1721777277; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OQQ6S+DGDcXd1n6khOCWrt92elPMN+9OCY+t5+3ZUZs=; b=Jm6smyN8qAdFJehwEigDztTRg2nR177pPlDpwWvHUyn209OBzZuZMTJ62F2aTU0jjg rOLyZyznQEH+IUyTnWv53nJib8B5plEjwbwNpXCM+fYU46qwXPIdayHUjw7jsuwcnikY 7eB4RpmUPpArTW4j51T9PoMGrvx8eO8OlrEObYU7CYSsVVpRI+p+vpl1UzDsdWa2D3nh iYrUKJuSHzrhll3/QJk9WBUU02gGU4shLziiAbz8ufda3nv7xOZHkKSkPoqjz1rpyf2F hgV+87YvQ+4LqrPgSQJzqNFKQsW/xAkLKITulSXsrjAG8+maI33pJbs++Iuq0Ii6d2lk JkEA== X-Gm-Message-State: AOJu0YwZAefhgVWLBGg5b7dPLAatS6KclmwAlZ1PyqkLEpOhBEYAX18V iAOQ92sjsZe4AiWiAGNe0Fg+oVl50kt6SMkJkT3ZYDbPXnDgmZNH+Qrgdw== X-Google-Smtp-Source: AGHT+IG7EnSVTipQEU7StKmT5RAzXxKonYLMFCf/x51k6+Wj9BYnzczF9itjg1zGaWYZ+WZza+qdxg== X-Received: by 2002:a50:8ad9:0:b0:58d:c542:251f with SMTP id 4fb4d7f45d1cf-5a05b41838dmr91291a12.7.1721172477364; Tue, 16 Jul 2024 16:27:57 -0700 (PDT) Message-ID: Date: Wed, 17 Jul 2024 01:27:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Urgent gcc update to GCC 13.3 To: cygwin AT cygwin DOT com References: <82c9bc8e-4048-43d8-a9ad-8ed5485a24a8 AT gmail DOT com> Content-Language: en-GB, hu In-Reply-To: X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Csaba_R=C3=A1duly_via_Cygwin?= Reply-To: =?UTF-8?Q?Csaba_R=C3=A1duly?= Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 46GNSxUf160729 On 15/07/2024 22:44, Mark Liam Brown via Cygwin wrote: > On Mon, Jul 15, 2024 at 9:35 PM Csaba Ráduly via Cygwin > wrote: >> On 09/07/2024 08:17, Cedric Blancher via Cygwin wrote: >>> I'd agree that newer gcc 13.x to compile Cygwin and as /usr/bin/gcc >>> would be a very good idea, not only for performance+STL fixes, but >>> also since by default the Cygwin distro lacks C++17 support, >> Huh? GCC supports C++17 since GCC 7 >> >> https://en.cppreference.com/w/cpp/17 > No, it does not. *Some* features work, but gcc 13.1 was the first > release where everything mandated by C++17 is working, or at least > compiling. > So far g++ in Cygwin 3.5.3 cannot compile anything in std::pmr:*, e.g. > std::pmr::monotonic_buffer_resource, std::pmr::polymorphic_allocator, > std::pmr::string, ruling out any realistic C++17 apps (of course, > HelloWorld will work). > > Mark A few examples of non-realistic, HelloWorld class projects: LLVM: ~/wk/llvm-project $ ag -s --cpp -w pmr bolt/ clang* compiler-rt/ cross-project-tests/ flang/ libclc libunwind/ ll* mlir/ offload/ openmp/ polly/ pstl/ runtimes/ third-party/ utils/ clang/test/SemaCXX/overloaded-builtin-operators.cpp 116:  pmf &pmr = (pmf_ref = &X::f); // expected-error{{no viable overloaded '='}} ~/wk/llvm-project $ Abseil: ~/wk/abseil-cpp$ ag -s --cpp -w pmr absl/ absl/container/internal/raw_hash_set_allocator_test.cc 450:// This allocator is similar to std::pmr::polymorphic_allocator. ~/wk/abseil-cpp$ GCC: ~/wk/gcc-project$ ag -l -c -s --cpp -w --ignore libstdc++-v3 pmr gcc/cp/std-name-hint.h:10 gcc/testsuite/g++.dg/rtti/typeid7.C:2 ~/wk/gcc-project$ Electron ~/wk/electron$ ag -l -c -s --cpp -w pmr ~/wk/electron$ LibreOffice ~/wk/libreoffice$ ag -l -c -s --cpp -w pmr ~/wk/libreoffice$ TensorFlow ~/wk/tensorflow$ ag -l -c -s --cpp -w pmr ~/wk/tensorflow$ Polymorphic memory resources were supported by GCC 9, according to https://en.cppreference.com/w/cpp/compiler_support/17 Anyway, nobody cares about std::pmr::anything , except maybe John Lakos and the Intel TBB project. /hyperbole Search results on github (thousands) pmr::                8 set_symmetric_difference    8.4 lexicographical_compare    32 nth_element    25 std::rotate        17.5 vector            27000 std::vector    12100 std::string    16300 Csaba -- Life is complex, with real and imaginary parts. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple