From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A3EC3858403; Tue, 1 Mar 2022 08:38:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A3EC3858403 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/104717] [9/10/11/12 Regression] ICE: verify_ssa failed (Error: type mismatch between an SSA_NAME and its symbol) Date: Tue, 01 Mar 2022 08:38:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 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, 01 Mar 2022 08:38:44 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104717 --- Comment #3 from Tom de Vries --- The test that is failing, is: ... 760 if (SSA_NAME_VAR (ssa_name) !=3D NULL_TREE 761 && TREE_TYPE (ssa_name) !=3D TREE_TYPE (SSA_NAME_VAR (ssa_nam= e))) 762 { 763 error ("type mismatch between an SSA_NAME and its symbol"); 764 return true; 765 } ... For ssa-name: ... (gdb) call debug_generic_expr (name) A.14_21 (gdb) call debug_tree (name) sizes-gimplified BLK size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality domain pointer_to_this > public unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 structural-equal= ity> var def_stmt A.14_21 =3D __builtin_alloca_with_align (_19, 32); version:21 ptr-info 0x7ffff63459f0> ... The mismatch seems to be: ... (gdb) call debug_generic_expr (name.typed.type) integer(kind=3D4)[0:D.4266] * (gdb) call debug_generic_expr (name.ssa_name.var.typed.type) integer(kind=3D4)[0:D.4433] * ...=