From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 6E4903858D37 for ; Wed, 24 May 2023 05:39:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E4903858D37 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-ot1-x32c.google.com with SMTP id 46e09a7af769-6af6df7f93aso377496a34.0 for ; Tue, 23 May 2023 22:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1684906765; x=1687498765; h=mime-version:user-agent:message-id:in-reply-to:date:errors-to :references:organization:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7z0XI9TIhOjUBQa86eTWN/GV7q+M6zBu+pKudSVv2Jg=; b=KZasYqOCpTg7uWVMOdT2gDBZRdAUMy83jt4nElWKnG4QbvDZOAgL+hyVHKA4FFm4Md GRxlQmAsbbObaNxbSLLWM7saJPgZThd3MwdKjZ8yIEyJb2doMV0NrwR9ZBgMRjCijExl UDFGG2De3EtlZl9CtKi9EDAH+5IlGeTBiPrqByL7UOqWsp+GsKoOeykaSyZMBgQkk7Tg bgAxvZcAW/W8yFmtcyoe+8eiUIat3rFEsjseNN0fTWgRm3nbj9v8DOjVTRrRdQyy95cl /+aKd25elPA2e9BSqUWuYK36MwaQjGElJJplSODt8+PLjNu+/IeVv1A1Vyt5T+DkW6dl 06Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684906765; x=1687498765; h=mime-version:user-agent:message-id:in-reply-to:date:errors-to :references:organization:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7z0XI9TIhOjUBQa86eTWN/GV7q+M6zBu+pKudSVv2Jg=; b=HACwnLL6R59oCqcguhrL85HDtW9+CZxg5k72nh1xVdVctPaQUyOyl6wxyQ739qx2Ia ONhovQD6AxW8fBTjL2/IGwygVaG1Ei7FojDK5QGtOUDfMoPIduDVtszZ+XGn3t45YujF 53nmIXAM6jyExDXjJjf2T62C2cIx0ULTfonwMiqX+0nwGBzpZ+6oj8xyHoJ+zZg9w750 RAQUz17L9b+Oaba0F98aZ1qY2+MxB+2JLipBXF0uBK9z0uPyr9jBUeDrGJtGMuQFs+9+ N6Ev4qjz1lDxbf4N7A1TdBpt4PLTltQkNDom+C/NbIhhc/v2twhxWMg89ZkMEnc/Wd91 b/2Q== X-Gm-Message-State: AC+VfDxC164lznRxvG+KbFssG48p912VCxOBQ9TxeGEa9W+JTHrm7RLt qKZ07z0iBUr/MF05+mHWq2DY98qyfEOmcsoMkI4= X-Google-Smtp-Source: ACHHUZ7IRSE//yuES9JiriwYYcCKP0NuiL1VilUb9V7m/ctY335b3v08DGIodmShrNiGzWBrHmnnlg== X-Received: by 2002:a9d:6f0e:0:b0:6a6:6121:dc60 with SMTP id n14-20020a9d6f0e000000b006a66121dc60mr8618430otq.10.1684906765633; Tue, 23 May 2023 22:39:25 -0700 (PDT) Received: from free.home ([2804:7f1:2080:6383:46d9:ede8:ee97:8cc0]) by smtp.gmail.com with ESMTPSA id f9-20020a056830204900b006af74d59a3esm3223140otp.4.2023.05.23.22.39.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 22:39:25 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 34O5dBtx3581524 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 24 May 2023 02:39:11 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: ebotcazou@libertysurf.fr Subject: Re: [PATCH v2] [PR100106] Reject unaligned subregs when strict alignment is required Organization: Free thinker, does not speak for AdaCore References: <20220505143308.GC25951@gate.crashing.org> Errors-To: aoliva@lxoliva.fsfla.org Date: Wed, 24 May 2023 02:39:11 -0300 In-Reply-To: (Alexandre Oliva's message of "Thu, 05 May 2022 23:41:42 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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 May 5, 2022, Alexandre Oliva wrote: > for gcc/ChangeLog > PR target/100106 > * emit-rtl.cc (validate_subreg): Reject a SUBREG of a MEM that > requires stricter alignment than MEM's. > for gcc/testsuite/ChangeLog > PR target/100106 > * gcc.target/powerpc/pr100106-sa.c: New. Ping? https://gcc.gnu.org/pipermail/gcc-patches/2022-May/594166.html The testcase variant was approved, but the reformatted patch is still pending review, despite support from Vlad Makarov for the original one; the suggested separate followup patch, mentioned in the linked email, turned out to be far more involved than anticipated, and needs further work, but it's independent from this self-contained fix. -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about