From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7774D3858D35; Tue, 24 Aug 2021 01:47:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7774D3858D35 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102027] [11/12 Regression] ABI break when using vector type in function arg/return value Date: Tue, 24 Aug 2021 01:47:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 24 Aug 2021 01:47:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102027 --- Comment #5 from H.J. Lu --- (In reply to Andrew Pinski from comment #3) > There are calls to vector_mode_supported_p in stor-layout which changes t= he It sounds odd to me since vector_mode_supported_p can change overtime. > TYPE_MODE of the RECORD_TYPE depending on if vector_mode_supported_p retu= rns > true or not and classify_argument depends on TYPE_MODE in some cases .... I am not sure if we can fix it in backend alone.=