public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/103485] New: [12 Regression] ICE: in emit_move_insn, at expr.c:4013 with -O -fno-tree-dce -fno-tree-dse
@ 2021-11-30  6:36 zsojka at seznam dot cz
  2021-11-30  7:17 ` [Bug rtl-optimization/103485] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2021-11-30  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103485
           Summary: [12 Regression] ICE: in emit_move_insn, at expr.c:4013
                    with -O -fno-tree-dce -fno-tree-dse
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu

Created attachment 51905
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51905&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -fno-tree-dce -fno-tree-dse testcase.c 
during RTL pass: expand
testcase.c: In function 'foo':
testcase.c:5:1: internal compiler error: in emit_move_insn, at expr.c:4013
    5 | foo (void)
      | ^~~
0x6bfb55 emit_move_insn(rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/expr.c:4013
0xe517aa expand_gimple_stmt_1
        /repo/gcc-trunk/gcc/cfgexpand.c:3994
0xe517aa expand_gimple_stmt
        /repo/gcc-trunk/gcc/cfgexpand.c:4028
0xe57508 expand_gimple_basic_block
        /repo/gcc-trunk/gcc/cfgexpand.c:6069
0xe59697 execute
        /repo/gcc-trunk/gcc/cfgexpand.c:6795
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.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r12-5590-20211129212232-g6c7d489a1e6-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r12-5590-20211129212232-g6c7d489a1e6-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20211130 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-30  8:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30  6:36 [Bug rtl-optimization/103485] New: [12 Regression] ICE: in emit_move_insn, at expr.c:4013 with -O -fno-tree-dce -fno-tree-dse zsojka at seznam dot cz
2021-11-30  7:17 ` [Bug rtl-optimization/103485] " rguenth at gcc dot gnu.org
2021-11-30  8:17 ` cvs-commit at gcc dot gnu.org
2021-11-30  8:17 ` rguenth at gcc dot gnu.org

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).