From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 5FA0D3858412 for ; Mon, 24 Oct 2022 08:32:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5FA0D3858412 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x435.google.com with SMTP id bk15so14889482wrb.13 for ; Mon, 24 Oct 2022 01:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7ijfdARVAhoMblk3P9JBKV6ZpVPbwRpc0IuCu52jyUQ=; b=Jrx3bcLzVW6zhZlEqy15L61Jm1DlMsSan0FXlA1kvTbf++bybJe8Bg4QxJytqkLUhc XFVib6pWY/ioLFqSUHXGnVi/TJyNTHgplwXGPKDGtxl8ifPtOygUkFAslHtaUQ0OQpOA UH0lx9fiYsU53eI3zhq3Ffd5fpIfGXL9S83llajPuV66D5HBlGrCLeMdcAiLIs1/qGFL HSzJxadLMb0T13ISCaEmUXvfVEg7Qg1V+XCPVRAB/ntHjDf0tldtXzjKTg1Rop77uzl/ sengF427Nj7rK3nSoP7pDdXXv6i/e6u0Z5rkDZg8zU3tSvvL/X6m0qF2mmR8HFJICuH6 HKeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7ijfdARVAhoMblk3P9JBKV6ZpVPbwRpc0IuCu52jyUQ=; b=KeGRdF2OIxognrDD0FkMCNwb0wTSeoBe9zE6ZgfeKPskUW/Bbf0qFNKu5bBv5mc1f4 hUgL1Qn9O0RyOVzHUm2FbnQMixYa/ElX46gPyvUgcRsWrki2Qio5ycZIUGOPPMCGEd90 55ZTEgsZbl/YkFkHWyGFgf8Gi2rY+vWH+Cq6PuS1mPtUOWohnxCZepYtV40Poz5JbTfi vO31jHOqvTjjLtIbuVw8KqovjQaEhJoAe0h0kUEXJAwvU4LF7vIJGjFb7IzMUznSO63X fTDAUESe6apdD0npgIACiunwk7KCbMj138cOx+axRfyCnpo0Z0aRLbxI3xaoKM1gWEsf j4YA== X-Gm-Message-State: ACrzQf0/8+bLDOlabbM/2hdplYPhuUnFZkKcboHor9054dhf1i6RmQxG a/mMhbqbfF1LdSzAt8UvHXI/GQ== X-Google-Smtp-Source: AMsMyM6WcDM7qX9N2/rINjyepVfAAwUXLC83EfLELmO5eeOtCVGr7Fmnu11fO/OzE7Os8TMRcAnAew== X-Received: by 2002:adf:8bc4:0:b0:236:73b7:84a with SMTP id w4-20020adf8bc4000000b0023673b7084amr1590065wra.8.1666600320301; Mon, 24 Oct 2022 01:32:00 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id r18-20020a05600c35d200b003c6c182bef9sm9619909wmq.36.2022.10.24.01.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 01:31:59 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: Richard Biener Cc: "Andre Vieira (lists)" , "gcc-patches@gcc.gnu.org" , Richard Sandiford , ebotcazou@gcc.gnu.org Subject: Re: vect: Make vect_check_gather_scatter reject offsets that aren't multiples of BITS_PER_UNIT [PR107346] Date: Mon, 24 Oct 2022 10:31:59 +0200 Message-ID: <3460816.iIbC2pHGDl@fomalhaut> In-Reply-To: References: <129db1b0-0d2a-b768-bc80-9f73d665e8f8@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: > Eric - the docs of DECL_BIT_FIELD are vague enough "must be accessed > specially" but ISTR it might eventually only apply to the fields > (bit) size and not it's position. OTOH the Ada frontend might not > be too careful in setting this flag for bit-packed structs? It sets the flag when the alignment or size of the field does not match that of its type, which indeed means that it needs to be accessed specially. -- Eric Botcazou