public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97838] New: ICE at -O3 on x86_64-pc-linux-gnu: Segmentation fault
@ 2020-11-15 13:52 zhendong.su at inf dot ethz.ch
  2020-11-15 15:09 ` [Bug tree-optimization/97838] [11 Regression] ICE at -O3 on x86_64-pc-linux-gnu: Segmentation fault by r11-4428 hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zhendong.su at inf dot ethz.ch @ 2020-11-15 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97838
           Summary: ICE at -O3 on x86_64-pc-linux-gnu: Segmentation fault
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhendong.su at inf dot ethz.ch
  Target Milestone: ---

[530] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --disable-bootstrap
--prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++
--disable-werror --enable-multilib --with-system-zlib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201115 (experimental) [master revision
406b452dc0e:d88ff5a679d:faab61b585a8b4a42454f085dd6b7815992a98f5] (GCC)
[531] %
[531] % gcctk -O2 -c small.c
[532] %
[532] % gcctk -O3 -c small.c
during GIMPLE pass: vect
small.c: In function ‘f’:
small.c:3:6: internal compiler error: Segmentation fault
    3 | void f() {
      |      ^
0xd0426f crash_signal
        ../../gcc-trunk/gcc/toplev.c:330
0x1006810 auto_vec<int, 0ul>::auto_vec()
        ../../gcc-trunk/gcc/vec.h:1540
0x1006810 vect_optimize_slp(vec_info*)
        ../../gcc-trunk/gcc/tree-vect-slp.c:2702
0xfea9c7 vect_analyze_loop_2
        ../../gcc-trunk/gcc/tree-vect-loop.c:2300
0xfea9c7 vect_analyze_loop(loop*, vec_info_shared*)
        ../../gcc-trunk/gcc/tree-vect-loop.c:2895
0x1015dbc try_vectorize_loop_1
        ../../gcc-trunk/gcc/tree-vectorizer.c:995
0x1016949 vectorize_loops()
        ../../gcc-trunk/gcc/tree-vectorizer.c:1229
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.
[533] %
[533] % cat small.c
int a, b, c, d;

void f() {
  while (c++) {
    int e = -1;
    d = a ? e / a : e;
    b ^= ~d;
  }
}

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

end of thread, other threads:[~2020-11-16 11:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15 13:52 [Bug tree-optimization/97838] New: ICE at -O3 on x86_64-pc-linux-gnu: Segmentation fault zhendong.su at inf dot ethz.ch
2020-11-15 15:09 ` [Bug tree-optimization/97838] [11 Regression] ICE at -O3 on x86_64-pc-linux-gnu: Segmentation fault by r11-4428 hjl.tools at gmail dot com
2020-11-16  7:27 ` rguenth at gcc dot gnu.org
2020-11-16 11:11 ` cvs-commit at gcc dot gnu.org
2020-11-16 11:12 ` 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).