From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A25B4384BC3C; Mon, 21 Sep 2020 10:48:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A25B4384BC3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600685287; bh=TVHQ0zibLo1QtgTFjYgyvUcfJJ7PUwH9EULf5MPapgw=; h=From:To:Subject:Date:From; b=SCtNqnF60dgCSjEfx5/aDJKyuRX+J0D7lcuNRnmZLbF059rRSwJZ3VZ6khwV0W8RJ nt5RNnuzkedL39IdThHOB+5/bNyOanWDi27aDD2TC6zYXp2df+w9gK7Nr28hDhGzNv jzo1zopRTn80lhIzRFsegQUB4dHUarG78QhFMKKc= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97141] New: [10/11 Regression] aarch64, SVE: ICE in decompose, at rtl.h (during expand) since r10-4676-g9c437a108a Date: Mon, 21 Sep 2020 10:48:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan 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 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: Mon, 21 Sep 2020 10:48:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97141 Bug ID: 97141 Summary: [10/11 Regression] aarch64, SVE: ICE in decompose, at rtl.h (during expand) since r10-4676-g9c437a108a Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- For the following testcase: int a; short b, c; short d(short e, short f) { return e + f; } void g(void) { a =3D -9; for (; a !=3D 51; a =3D d(a, 5)) b |=3D c; } AArch64 GCC ICEs at -O3 -march=3Darmv8.2-a+sve since r10-4676-g9c437a108a14b9bdc44659c131b0da944e5ffeab: commit 9c437a108a14b9bdc44659c131b0da944e5ffeab Author: Richard Sandiford Date: Thu Nov 14 15:31:25 2019 Vectorise conversions between differently-sized integer vectors To reproduce: $ aarch64-none-elf-gcc -c -S -O3 -march=3Darmv8.2-a+sve test.c during RTL pass: expand test.c: In function 'g': test.c:4:6: internal compiler error: in decompose, at rtl.h:2296 4 | void g(void) { | ^ 0xd05b28 wi::int_traits >::decompose(long= *, unsigned int, std::pair const&) /home/alecop01/toolchain/src/gcc/gcc/rtl.h:2296 0xd05b28 wide_int_ref_storage::wide_int_ref_storage >(std::pair const&, unsigned int) /home/alecop01/toolchain/src/gcc/gcc/wide-int.h:1034 0xd05b28 generic_wide_int >::generic_wide_int >(std::pair const&, unsigned int) /home/alecop01/toolchain/src/gcc/gcc/wide-int.h:790 0xd05b28 wi::binary_traits, std::pair, wi::int_traits >::precision_type, wi::int_traits >::precision_type>::result_type wi::sub, std::pair >(std::pair const&, std::pair const&) /home/alecop01/toolchain/src/gcc/gcc/wide-int.h:2510 0xd05b28 rtx_vector_builder::step(rtx_def*, rtx_def*) const /home/alecop01/toolchain/src/gcc/gcc/rtx-vector-builder.h:122 0xd05d38 vector_builder::elt(unsigned int) const /home/alecop01/toolchain/src/gcc/gcc/vector-builder.h:254 0xd059a8 rtx_vector_builder::build() /home/alecop01/toolchain/src/gcc/gcc/rtx-vector-builder.c:73 0x9932f8 const_vector_from_tree /home/alecop01/toolchain/src/gcc/gcc/expr.c:12790 0x9932f8 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/alecop01/toolchain/src/gcc/gcc/expr.c:10349 0x998cfb expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /home/alecop01/toolchain/src/gcc/gcc/expr.c:8480 0xe5d7a4 expand_expr /home/alecop01/toolchain/src/gcc/gcc/expr.h:282 0xe5d7a4 insert_value_copy_on_edge /home/alecop01/toolchain/src/gcc/gcc/tree-outof-ssa.c:349 0xe5d7a4 eliminate_phi /home/alecop01/toolchain/src/gcc/gcc/tree-outof-ssa.c:785 0xe5d7a4 expand_phi_nodes(ssaexpand*) /home/alecop01/toolchain/src/gcc/gcc/tree-outof-ssa.c:1024 0x85aa3c execute /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:6553 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=