public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/100626] New: ICE Segmentation fault (during RTL pass: split1)
@ 2021-05-16 18:05 haoxintu at gmail dot com
  2021-05-17  1:54 ` [Bug target/100626] " haoxintu at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: haoxintu at gmail dot com @ 2021-05-16 18:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100626
           Summary: ICE Segmentation fault (during RTL pass: split1)
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: haoxintu at gmail dot com
  Target Milestone: ---

Hi all.

I don't know if there is a dup of this. I have searched but failed.

$cat small.c
#include <stdint.h>
int uc_4, i_5, us_7;
void fn1() {
  int li_18;
  int64_t *ptr_43 = &li_18;
  for (; us_7;) {
    fn2();
    *ptr_43 ^= uc_4;
  }
  i_5 = li_18;
}

$gcc -w -O1 -m32 small.c
during RTL pass: split1
small.c: In function ‘fn1’:
small.c:11:1: internal compiler error: Segmentation fault
   11 | }
      | ^
0xb2bebf crash_signal
        ../../gcc/toplev.c:327
0xe885ca ix86_fixup_binary_operands(rtx_code, machine_mode, rtx_def**)
        ../../gcc/config/i386/i386-expand.c:900
0xe8877b ix86_expand_binary_operator(rtx_code, machine_mode, rtx_def**)
        ../../gcc/config/i386/i386-expand.c:943
0x11a016e gen_split_216(rtx_insn*, rtx_def**)
        ../../gcc/config/i386/i386.md:9714
0x137d6a2 split_insns(rtx_def*, rtx_insn*)
        ../../gcc/config/i386/i386.md:14112
0x808ffe try_split(rtx_def*, rtx_insn*, int)
        ../../gcc/emit-rtl.c:3834
0xaa0f51 split_insn
        ../../gcc/recog.c:3363
0xaa63e7 split_all_insns()
        ../../gcc/recog.c:3467
0xaa6478 execute
        ../../gcc/recog.c:4385
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.

$gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/users/htu42656/compilers/gcc-11.1.0/build/libexec/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure
--prefix=/users/htu42656/compilers/gcc-11.1.0/build/ --enable-bootstrap
--enable-checking=release --enable-languages=c,c++ --enable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.1.0 (GCC) 


Thanks,
Haoxin

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

end of thread, other threads:[~2021-05-25 17:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 18:05 [Bug tree-optimization/100626] New: ICE Segmentation fault (during RTL pass: split1) haoxintu at gmail dot com
2021-05-17  1:54 ` [Bug target/100626] " haoxintu at gmail dot com
2021-05-17  8:08 ` [Bug target/100626] [11/12 Regression] ICE Segmentation fault (during RTL pass: split1) since r11-165-geb72dc663e9070b2 marxin at gcc dot gnu.org
2021-05-17  8:53 ` jakub at gcc dot gnu.org
2021-05-17 11:26 ` ubizjak at gmail dot com
2021-05-17 12:49 ` rguenth at gcc dot gnu.org
2021-05-17 18:09 ` haoxintu at gmail dot com
2021-05-17 18:37 ` ubizjak at gmail dot com
2021-05-18 13:46 ` cvs-commit at gcc dot gnu.org
2021-05-25 17:22 ` cvs-commit at gcc dot gnu.org
2021-05-25 17:23 ` ubizjak at gmail dot com

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