From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id D6BC13858D28 for ; Tue, 11 Oct 2022 20:03:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D6BC13858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665518596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BLheWsIL5NvJKL3ZXAlO9BAZeXNG0i3URZtfHS2m8Do=; b=GPKVIT5CB8yUo7xNFEaExNru5Tbv7YocKCBong+OhWyUzmol4ttDCe9DANvc64qdqVnque ltsGRfcpFWKovjJKx+rGx2LBK1HyjVqNbKvr/THmOk4sDoqwlc3FKu0IOCKxtQqIL7vr1n XtblM53lfJ1zFWPJHw5w5tu+ft/hDls= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-47-N7LYTHDfPGed3QazzDSBnw-1; Tue, 11 Oct 2022 16:03:15 -0400 X-MC-Unique: N7LYTHDfPGed3QazzDSBnw-1 Received: by mail-qk1-f199.google.com with SMTP id n13-20020a05620a294d00b006cf933c40feso12668198qkp.20 for ; Tue, 11 Oct 2022 13:03:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to: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=BLheWsIL5NvJKL3ZXAlO9BAZeXNG0i3URZtfHS2m8Do=; b=pYzNbwAOKP9ourt4pRxf0zj5Uo/H9gNKBSXChAEdXoErhQfHTWy08dqvNTstN8YVDJ XrIHHJKVzl3y+elrRIKG4U2/FvDmK8xIGXkjis0SVoCs/awrUsbiBGRsG9ZGAgM6LPHz BFV/QKKE+N7kQtESqzYX2WAIAY8YgV/8oFPUeG/IiF6F0SRBGcbj2zgw/JZDft5iZjPd w3arr7lEktmilHqDkjuTG+gWLGbXEB4aMNXfOLRxdUe3icUfDR6D0ziFj/sFkUYG8f7K 4ZFOHaOUwhTqcEBQ1sJ4QpjOvgOSBjurH3fhtIsNqbhqxcNaPazdGpokieW0tqE/mOMy Am/Q== X-Gm-Message-State: ACrzQf1j+LLGTwwUkkJ6YzpEnr3ZdQFbln4glSFvFF5QZSCd3V5gdWMS +DFpymOixfvZxYswQHzp3xRn89B6RLtw6pJ/i5RmC6yaGnS0szvbRYbTP6V0AbVNBzHF6LGOPGD uoWPI3y7ZxncXIWYCjQ== X-Received: by 2002:ac8:7f14:0:b0:35c:c557:df78 with SMTP id f20-20020ac87f14000000b0035cc557df78mr20378855qtk.209.1665518594985; Tue, 11 Oct 2022 13:03:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+NaomYXXSdlG/Rn+idxcHxXXb1lBJWM5nSa/Xoivrs89JfLRejs9ERUjTVTGJRs+eS4909A== X-Received: by 2002:ac8:7f14:0:b0:35c:c557:df78 with SMTP id f20-20020ac87f14000000b0035cc557df78mr20378842qtk.209.1665518594766; Tue, 11 Oct 2022 13:03:14 -0700 (PDT) Received: from redhat.com (2603-7000-9500-2e39-0000-0000-0000-1db4.res6.spectrum.com. [2603:7000:9500:2e39::1db4]) by smtp.gmail.com with ESMTPSA id fg27-20020a05622a581b00b00399ad646794sm5905437qtb.41.2022.10.11.13.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 13:03:14 -0700 (PDT) Date: Tue, 11 Oct 2022 16:03:12 -0400 From: Marek Polacek To: Andreas Schwab Cc: Marek Polacek via Gcc-patches Subject: Re: [PATCH v5] c-family: ICE with [[gnu::nocf_check]] [PR106937] Message-ID: References: <986ebf27-6897-c762-ff5a-d82c465e61a8@redhat.com> <8c2a1cc2-444b-90be-f73b-ee5eb7cf69e6@redhat.com> <93969753-469e-c5d9-6563-be4bc11ba29f@redhat.com> <9a1d8df4-a8b1-6df4-8d97-6de88c673d31@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/2.2.7 (2022-08-07) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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, Oct 11, 2022 at 09:40:45AM +0200, Andreas Schwab via Gcc-patches wrote: > On Okt 10 2022, Marek Polacek via Gcc-patches wrote: > > > diff --git a/gcc/testsuite/c-c++-common/pointer-to-fn1.c b/gcc/testsuite/c-c++-common/pointer-to-fn1.c > > new file mode 100644 > > index 00000000000..975885462e9 > > --- /dev/null > > +++ b/gcc/testsuite/c-c++-common/pointer-to-fn1.c > > @@ -0,0 +1,18 @@ > > +/* PR c++/106937 */ > > +/* { dg-options "-fcf-protection" } */ > > FAIL: c-c++-common/pointer-to-fn1.c -Wc++-compat (test for excess errors) > Excess errors: > cc1: error: '-fcf-protection=full' is not supported for this target Thanks, patch posted. Marek