From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id C789038A90A5 for ; Fri, 16 Sep 2022 18:39:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C789038A90A5 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-ej1-x62a.google.com with SMTP id lh5so9660328ejb.10 for ; Fri, 16 Sep 2022 11:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:from:to:cc:subject:date; bh=SHFPHFFCq3Ej+/lezH+oj5+Xq0bH3Ot4Fo2C4y4iRHk=; b=LHvjl11eFsOU4XJlFCwaUH4bpq16YuZAGy6WqLFbfqp9p12bO9X5hgYTTeZUQnmLIq zg3MitzHJ81xhOJ1hKkv1ooExxcQ0cpH9xp2S5VtFEcYh81Npqa5IVSMGuKpoEo+Xm4l OJArluGLDfx31QLRvX/B1RuNWm+0lqHeQIGeX61EXh67nuCJaLAdLpDiioBC0arl8ojd SyfksH4PmXQWC/LtwIwUaWP7O7rtIVxrX1sVb3HLc8r1UeOp+8X9KRXLIA9jl2FW9sw5 t8DiBcdc7XCzdyxE+jtmk6I+yDVC0s6R2pbz7UFRpr/muD7n17r7hyiREz686J43VK8+ AicQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=SHFPHFFCq3Ej+/lezH+oj5+Xq0bH3Ot4Fo2C4y4iRHk=; b=OIFu7ipU+D6AKtWYdEIuKXS0AzTTwfhABObThh4zHucHGoKEY3gCi2ItMqN4Ftxlpc h8eOapnIynR6evvBOxqZpGt6yobxD9zn+DgdlihmtucThx1r4qaEeY5y3T1iImH03V/x r+2WfbbuUxsZCN0GXf7Chw2ZM2CKR6tXWcpCVe3X3cxXVyF4t2xK82LnVO1yFNahRHYn ic26vNDUIv8Jo3Cmxn4ObvR1Ap8TWQHNOyKfi06VXiv22G1MuCzT0e5RzsHqYEfpTuFr 43EczuKBkC6kvlh032sf/EolHIcfu8LGSo+oVIDM7hLwDi9cH8H8tbdGT9TslA6eKcDt nXZQ== X-Gm-Message-State: ACrzQf3MRkE6Ny2ly9u0bQnmgZ7K6pLIk2o4rRzQSQsTiNNCwO+P6rKH JVCocUOrkCvxTTkQpP3Byhg= X-Google-Smtp-Source: AMsMyM4NuYXyMW54nYiFYWxGaCze0DWf1u+SgWrEujQdcQ+SyYkO3nCIq0mNGgu6Jqo9XWoPVV6QnA== X-Received: by 2002:a17:906:db03:b0:741:337e:3600 with SMTP id xj3-20020a170906db0300b00741337e3600mr4631445ejb.343.1663353559456; Fri, 16 Sep 2022 11:39:19 -0700 (PDT) Received: from [127.0.0.1] (80-110-214-113.static.upcbusiness.at. [80.110.214.113]) by smtp.gmail.com with ESMTPSA id i20-20020aa7c9d4000000b00448176872f7sm13650093edt.81.2022.09.16.11.39.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 11:39:18 -0700 (PDT) Date: Fri, 16 Sep 2022 20:39:13 +0200 From: Bernhard Reutner-Fischer To: Patrick Palka , Patrick Palka via Gcc-patches , Nathan Sidwell CC: GCC Patches Subject: Re: [PATCH] c++: modules ICE with typename friend declaration In-Reply-To: References: <20220915201627.2942314-1-ppalka@redhat.com> Message-ID: <60B696E0-0AA6-4355-916F-FA5126FECBFF@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 16 September 2022 17:54:32 CEST, Patrick Palka via Gcc-patches wrote: >+++ b/gcc/testsuite/g++=2Edg/modules/typename-friend_a=2EC >@@ -0,0 +1,11 @@ >+// { dg-additional-options "-fmodules-ts" } >+export module foo; >+// { dg-module-cmi foo } >+ If that's a constant, repeating pain, you could instrument the test suite = so that upon seeing -fmodules-ts (or maybe a later std) it greps for export= module and calls dg-module-cmi on those names automatically on its own=2E We do the same for stuff like PCH or fortran module =2Emod or many other c= leanup stuff because such manual annotations are IMHO a waste of developer = resources=2E=2E Just a thought=2E=2E cheers,