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 697393858C27 for ; Tue, 26 Sep 2023 20:26:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 697393858C27 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 a640c23a62f3a-9a645e54806so1173378166b.0 for ; Tue, 26 Sep 2023 13:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695759995; x=1696364795; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=wUgWJP5/BYVILd258vpvgtVyS4WHt26YqhFHjited3c=; b=MIA8+g6Y2H3I7lGuAWZis16t32Wy/G5FDCeJCqiwCfI/Hb0r4bXqizNtXYfPa9yYIW HUDoYeuFUHwYn+MTO3qIt0EaYbUVpHucwx6/y8nHXBjs1/jzWBAwyzb2tRkBHhikU3qu dbVrSpbXCKtZIj4zIa86Xw/DVCJ3ebf0QaL99lm3SLtoMo1rDU3B+STwJeEKfvk/9Ig7 rHe7wwglCHcie4J8lu4THyN0369WJGgXjel9D/jAh2Tu/eCS578yJjWLgyBHy6SfLVUw 0YAbv/mBSVvYmyouNCnMQ+VbOqMGZyDNKPgooKfc/iUvkNs6dMagT1NDU2u26nJ91odc TFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695759995; x=1696364795; 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:message-id:reply-to; bh=wUgWJP5/BYVILd258vpvgtVyS4WHt26YqhFHjited3c=; b=G86OSUV+zKWwbDsRU1eMa7W8KhSqkN00TFQmabxOw7p2oZrg5rf3rtbeDiFJm54x0J 44GHkCzjRTKIcpysYcy7w+vqPWhQ2PGVpbqL6rLCud3KVQ8+r1uyY5UDAHXEY1Onfett a85dY0X7rTo0I6dl+bo1vSLE72AXF+Qkh0/ns8jrDkexpxzzNA3leaS2Bd/nay2dyQHf n09LKu2/yLQlCh5xz2HcKXxQpkC/sMFgHiCuhweSaHjo9icxbGh3QBz5+uomwW0YALzW 7unxPgGMEz4NBu4wsHGB0Txy04mquODxGAO0gF7X47EkqYLEp4vwG7zBAi4tQ9WPdc8R SbZw== X-Gm-Message-State: AOJu0Yx7vwPjsxRtPqgsrQ4l0JdhDcxjwkMWfvnPGIFP77pQalgumOOv lErp2wxbSeBRVhhsZXy/gf5L3wTtZG4UmA== X-Google-Smtp-Source: AGHT+IHNGFJS9+ETNpOYvp1FRWWFpFQ1iWhi7kQSQ+BV1U1KmVdAzIXlOGuBkh0I/Ke7H41hY0yyWw== X-Received: by 2002:a17:907:2e19:b0:9ae:329f:11c5 with SMTP id ig25-20020a1709072e1900b009ae329f11c5mr8958856ejc.53.1695759994714; Tue, 26 Sep 2023 13:26:34 -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 h11-20020a170906854b00b0099b8234a9fesm8124675ejy.1.2023.09.26.13.26.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 13:26:34 -0700 (PDT) Date: Tue, 26 Sep 2023 22:26:30 +0200 From: Bernhard Reutner-Fischer To: gcc-patches@gcc.gnu.org, Tobias Burnus , Andrew Stubbs , "Andre Vieira (lists)" , "gcc-patches@gcc.gnu.org" CC: Richard Sandiford , Richard Biener Subject: Re: [PATCH] vect, omp: inbranch simdclone dropping const In-Reply-To: <3df2be22-fcc4-4a5e-8f3a-cd00c242ae48@codesourcery.com> References: <0038c6a3-62ff-419f-bef5-6d59d5e8a655@codesourcery.com> <3df2be22-fcc4-4a5e-8f3a-cd00c242ae48@codesourcery.com> Message-ID: <1FA985A4-3102-4A18-9EF8-9CE29C0D7BA4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.3 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 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 26 September 2023 18:46:11 CEST, Tobias Burnus wrote: >On 26=2E09=2E23 18:37, Andrew Stubbs wrote: >> If the fall-through is deliberate please add a /* FALLTHROUGH */ >> comment (or whatever spelling disables the warning)=2E > >It's: gcc_fallthrough (); > >Which gets converted to "__attribute__((fallthrough))"; it could also >expand to "[[fallthrough]]" but that's C++17 (and, also, an C23 feature >- albeit so far unimplemented in gcc)=2E OT IIRC we do parse comments for a number of spellings of the hint by the use= r that the fallthrough is deliberate: https://gcc=2Egnu=2Eorg/onlinedocs/gcc/Warning-Options=2Ehtml See the numerous levels of -Wimplicit-fallthrough=3Dn, the default being 3= =2E ---8<--- -Wimplicit-fallthrough=3D3 case sensitively matches one of the following r= egular expressions: -fallthrough @fallthrough@ lint -fallthrough[ \t]* [ \t=2E!]*(ELSE,? |INTENTIONAL(LY)? )? FALL(S | |-)?THR(OUGH|U)[ \t=2E!]*(-[^\n\r]*)? [ \t=2E!]*(Else,? |Intentional(ly)? )? Fall((s | |-)[Tt]|t)hr(ough|u)[ \t=2E!]*(-[^\n\r]*)? [ \t=2E!]*([Ee]lse,? |[Ii]ntentional(ly)? )? fall(s | |-)?thr(ough|u)[ \t=2E!]*(-[^\n\r]*)? ---8<--- Just FWIW=2E thanks,