public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/103464] New: ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault
@ 2021-11-29  9:58 zhendong.su at inf dot ethz.ch
  2021-11-29  9:59 ` [Bug tree-optimization/103464] " zhendong.su at inf dot ethz.ch
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: zhendong.su at inf dot ethz.ch @ 2021-11-29  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103464
           Summary: ICE on valid code at -O1 (with -ftree-vrp and ulimit
                    -s 512) on x86_64-linux-gnu: Segmentation fault
           Product: gcc
           Version: unknown
            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: ---

[519] % ulimit -s 512
[520] % 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/12.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 --disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20211129 (experimental) [master r12-4647-g3f861a5c8fd] (GCC) 
[521] % 
[521] % gcctk -O1 -ftree-vrp small.c
gcctk: internal compiler error: Segmentation fault signal terminated program
cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[522] % 
[522] % cat small.c
int a, b, c;
long d;
int main() {
  int e, f, g;
  long h, i;
  if (a)
  L1:
    goto L2;
  while (a) {
    if (c)
      goto L3;
    e = f;
    int j = g;
    if (0)
    L2:
      i = j;
    d = e;
    if (b)
    L3:
      if (a) {
        g = f = h;
        goto L1;
      }
    h = i;
  }
  return 0;
}

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

end of thread, other threads:[~2022-01-11 14:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29  9:58 [Bug tree-optimization/103464] New: ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault zhendong.su at inf dot ethz.ch
2021-11-29  9:59 ` [Bug tree-optimization/103464] " zhendong.su at inf dot ethz.ch
2021-11-29 10:09 ` [Bug tree-optimization/103464] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5 marxin at gcc dot gnu.org
2021-11-29 10:11 ` pinskia at gcc dot gnu.org
2021-11-29 10:13 ` rguenth at gcc dot gnu.org
2021-11-29 10:16 ` rguenth at gcc dot gnu.org
2021-11-29 10:17 ` [Bug tree-optimization/103464] [12 Regression] " rguenth at gcc dot gnu.org
2021-11-29 10:25 ` zhendong.su at inf dot ethz.ch
2021-11-29 10:26 ` rguenth at gcc dot gnu.org
2021-11-29 10:26 ` marxin at gcc dot gnu.org
2021-11-29 10:28 ` zhendong.su at inf dot ethz.ch
2021-11-29 10:31 ` zhendong.su at inf dot ethz.ch
2021-11-29 10:31 ` rguenth at gcc dot gnu.org
2021-11-29 10:33 ` zhendong.su at inf dot ethz.ch
2021-11-29 10:44 ` rguenth at gcc dot gnu.org
2021-11-29 11:08 ` rguenth at gcc dot gnu.org
2021-11-29 17:27 ` amacleod at redhat dot com
2021-11-29 17:34 ` amacleod at redhat dot com
2021-12-01 14:15 ` cvs-commit at gcc dot gnu.org
2021-12-01 14:16 ` amacleod at redhat dot com
2022-01-11 14:07 ` cvs-commit 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).