public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-101742-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101742

            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=nano-x2 -O3 -c
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr101505.c: In function
‘w7.simdclone.4’:
/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 <https://gcc.gnu.org/bugs/> for instructions.

             reply	other threads:[~2021-08-03  7:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03  7:50 marxin at gcc dot gnu.org [this message]
2021-08-03  7:51 ` [Bug target/101742] " marxin at gcc dot gnu.org
2021-08-03 13:57 ` hjl.tools at gmail dot com
2021-08-04 13:25 ` cvs-commit at gcc dot gnu.org
2021-08-04 20:02 ` cvs-commit at gcc dot gnu.org
2021-08-04 20:06 ` hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101742-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).