From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 94A2A3858C53; Wed, 26 Apr 2023 17:28:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94A2A3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682530130; bh=maWNxbzu4f5OqRQEPCmpXtSk4pOg4LpS5fINod8YGuA=; h=From:To:Subject:Date:From; b=nvhV//Uc2eqhrp+9w7ceqMUsMLLlK0u36LQIcMyg71+p1duRIeX7+z3Jkrlh4NNXV lg1HmXXyFtPpI8N3WLFx/nHhrNxgclJqIa4ZOf/29e6CxheHEpNUGJUjSheavULNT+ 3tivNpxdoepUJwQYIDPPv2zInU0xSRT8AKnR34dw= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109636] New: [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=a64fx Date: Wed, 26 Apr 2023 17:28:49 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created 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=3D109636 Bug ID: 109636 Summary: [14 Regression] ICE: in paradoxical_subreg_p, at rtl.h:3205 with -O -mcpu=3Da64fx Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 54927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54927&action=3Dedit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -O -mcpu=3Da64fx testcase.c=20 during RTL pass: expand testcase.c: In function 'foo': testcase.c:9:3: internal compiler error: in paradoxical_subreg_p, at rtl.h:= 3205 9 | bar (__builtin_shuffle (v, __builtin_shufflevector ((V){}, w, 4, = 5) / v)); |=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x7e83b3 paradoxical_subreg_p(machine_mode, machine_mode) /repo/gcc-trunk/gcc/rtl.h:3205 0x7f1871 paradoxical_subreg_p(machine_mode, machine_mode) /repo/gcc-trunk/gcc/simplify-rtx.cc:7459 0x7f1871 simplify_context::simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<2u, unsigned long>) /repo/gcc-trunk/gcc/simplify-rtx.cc:7533 0x1193a21 simplify_context::simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, poly_int<2u, unsigned long>) /repo/gcc-trunk/gcc/simplify-rtx.cc:7748 0x1af64c4 simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, poly_int<2u, unsigned long>) /repo/gcc-trunk/gcc/rtl.h:3542 0x1af64c4 gen_udivv2di3(rtx_def*, rtx_def*, rtx_def*) /repo/gcc-trunk/gcc/config/aarch64/aarch64-simd.md:2910 0x104e9da expand_binop_directly /repo/gcc-trunk/gcc/optabs.cc:1442 0x104c481 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def= *, int, optab_methods) /repo/gcc-trunk/gcc/optabs.cc:1529 0x104f063 sign_expand_binop(machine_mode, optab_tag, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /repo/gcc-trunk/gcc/optabs.cc:2317 0xd92811 expand_divmod(int, tree_code, machine_mode, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /repo/gcc-trunk/gcc/expmed.cc:5268 0xd9f3e9 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /repo/gcc-trunk/gcc/expr.cc:9863 0xda6218 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /repo/gcc-trunk/gcc/expr.cc:10800 0xda0317 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /repo/gcc-trunk/gcc/expr.cc:8999 0xda0317 expand_normal(tree_node*) /repo/gcc-trunk/gcc/expr.h:316 0xda0317 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /repo/gcc-trunk/gcc/expr.cc:10453 0xda6218 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /repo/gcc-trunk/gcc/expr.cc:10800 0xc4d218 expand_normal(tree_node*) /repo/gcc-trunk/gcc/expr.h:316 0xc4d218 precompute_register_parameters /repo/gcc-trunk/gcc/calls.cc:988 0xc53ca0 expand_call(tree_node*, rtx_def*, int) /repo/gcc-trunk/gcc/calls.cc:3416 0xda4c51 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /repo/gcc-trunk/gcc/expr.cc:11867 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/mnt/main-repo/repo/gcc-trunk/binary-trunk-r14-268-20= 230426091040-ge02f68df385-checking-yes-rtl-df-extra-aarch64/bin/../libexec/= gcc/aarch64-unknown-linux-gnu/14.0.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-g= nu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-268-20230426091040-ge02f68df38= 5-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230426 (experimental) (GCC)=