From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by sourceware.org (Postfix) with ESMTPS id 724143858018; Tue, 2 Nov 2021 19:57:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 724143858018 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 019FC28270D; Tue, 2 Nov 2021 20:57:23 +0100 (CET) Date: Tue, 2 Nov 2021 20:57:23 +0100 From: Jan Hubicka To: "jakub at gcc dot gnu.org" Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs Message-ID: <20211102195723.GB30167@kam.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2021 19:57:27 -0000 > See above comments from Iain, even if that pre-initialization is removed it is > still miscompiled. And, the testcase fails not because of the padding bits not > being zero, but because the address of self stored into one of the fields isn't > there or modref thinks it can't be changed or set to that. But for > corresponding C++ it handles it ok. Perhaps TREE_ADDRESSABLE on the type which is being used to test whether return slot pointer may escape.