From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B30FC385783F; Tue, 18 Jul 2023 11:55:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B30FC385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689681310; bh=knH5qIbhoBMLDWgAlqkJhGynJREoxRd0sxAF0x6ClSI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=l3HydvTwsNHyX+Q3HGPDZVbqKfrfgySnY79xKQ3iKkX4HPt0u5bK662EUclwOsrY3 MGEeDxsGKeRAp+VaGwjjy73jeOFvHbGcYYJeLP83XVmIEJ+twxOjzo593tJDKJLyaR SJyr7v9PdI+a0f1kX1dGJKVgK/J33hbUN1pGhVJo= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/110712] d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr') Date: Tue, 18 Jul 2023 11:55:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110712 --- Comment #1 from Richard Biener --- this_2(D)->ap =3D VIEW_CONVERT_EXPR(ap_3(D)); it looks odd since ap_3(D) is a is_gimple_reg but a struct[1] definitely would not. Maybe you are missing a dereference here? In C struct[1] would decay to a pointer so this.ap =3D ap; wouldn't work (besides that va_list copying requires va_copy).=