From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E47F3858C74; Fri, 26 Jan 2024 20:16:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E47F3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706300187; bh=zAR/i/BDzYt8HO9yDVGsTbQVkGBEpJyuec5Sbhk86ko=; h=From:To:Subject:Date:From; b=taRJAsY/jfqJyA/yy7D5EQX+R4lH2LM8z3X/ZLH0WdnWxgiXIJLzpMHDWxYFVIwRV dA2+zJVohT+RAmX+Ty5fJ50Vi3QfkXrPzVZD/4XNbr4BqAO7NLpcScO97wZ+9dzHSw 1VBohrCMcWBDqWafAJmo4gYCKtJm3ybyJLvsf4ps= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113622] New: r14-8450 regression: ICE with vectors in named registers Date: Fri, 26 Jan 2024 20:16:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D113622 Bug ID: 113622 Summary: r14-8450 regression: ICE with vectors in named registers Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: xry111 at gcc dot gnu.org Target Milestone: --- Start from r14-8450 "tree-optimization/113602 - datarefs of non-addressable= s", various LoongArch target tests fail. Reduced test case: typedef double __attribute__ ((vector_size (32))) vec; register vec a asm("f25"), b asm("f26"), c asm("f27"); void test (void) { for (int i =3D 0; i < 4; i++) c[i] =3D a[i] < b[i] ? 0.1 : 0.2; } $ ./gcc/cc1 t.c -O2 -msimd=3Dlasx -fno-ident -o xvfcmp-f.s -nostdinc t.c: In function =E2=80=98test=E2=80=99: t.c:8:10: internal compiler error: in expand_assignment, at expr.cc:6073 8 | c[i] =3D a[i] < b[i] ? 0.1 : 0.2; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 0x102029b expand_assignment(tree_node*, tree_node*, bool) ../../gcc/gcc/expr.cc:6073 0xe7a76b expand_gimple_stmt_1 ../../gcc/gcc/cfgexpand.cc:3992 0xe7aaf9 expand_gimple_stmt ../../gcc/gcc/cfgexpand.cc:4071 0xe8355b expand_gimple_basic_block ../../gcc/gcc/cfgexpand.cc:6127 0xe85b0d execute ../../gcc/gcc/cfgexpand.cc:6866=