From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D41F385703C; Tue, 3 Aug 2021 07:50:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D41F385703C From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101742] New: [12 Regression] ICE in expand_mult, at expmed.c:3585 since r12-2666-g29f0e955c97da002 Date: Tue, 03 Aug 2021 07:50:57 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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 keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost 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: Tue, 03 Aug 2021 07:50:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101742 Bug ID: 101742 Summary: [12 Regression] ICE in expand_mult, at expmed.c:3585 since r12-2666-g29f0e955c97da002 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hjl.tools at gmail dot com Target Milestone: --- Host: x86_64-linux-gnu The following fails: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr101505.c -mtune=3Dnano-x2 -O3 -c during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr101505.c: In funct= ion =E2=80=98w7.simdclone.4=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr101505.c:15:10: internal compiler error: in expand_mult, at expmed.c:3585 15 | return xb; | ^~ 0x69b962 expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool) /home/marxin/Programming/gcc/gcc/expmed.c:3585 0x9b6328 builtin_memset_gen_str /home/marxin/Programming/gcc/gcc/builtins.c:4124 0xb0c816 op_by_pieces_d::run() /home/marxin/Programming/gcc/gcc/expr.c:1252 0xb0ce2a store_by_pieces(rtx_def*, unsigned long, rtx_def* (*)(void*, void*, long, fixed_size_mode), void*, unsigned int, bool, memop_ret) /home/marxin/Programming/gcc/gcc/expr.c:1579 0xb0ce2a store_by_pieces(rtx_def*, unsigned long, rtx_def* (*)(void*, void*, long, fixed_size_mode), void*, unsigned int, bool, memop_ret) /home/marxin/Programming/gcc/gcc/expr.c:1561 0x9b882e expand_builtin_memset_args /home/marxin/Programming/gcc/gcc/builtins.c:4383 0x9c2f2d expand_builtin_memset /home/marxin/Programming/gcc/gcc/builtins.c:4146 0x9c2f2d expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) /home/marxin/Programming/gcc/gcc/builtins.c:7647 0xb1b9fe expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/Programming/gcc/gcc/expr.c:11508 0x9ebfdf expand_expr /home/marxin/Programming/gcc/gcc/expr.h:301 0x9ebfdf expand_call_stmt /home/marxin/Programming/gcc/gcc/cfgexpand.c:2846 0x9ebfdf expand_gimple_stmt_1 /home/marxin/Programming/gcc/gcc/cfgexpand.c:3879 0x9ebfdf expand_gimple_stmt /home/marxin/Programming/gcc/gcc/cfgexpand.c:4043 0x9f20e0 expand_gimple_basic_block /home/marxin/Programming/gcc/gcc/cfgexpand.c:6085 0x9f4057 execute /home/marxin/Programming/gcc/gcc/cfgexpand.c:6811 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=