public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/106630] New: [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2
@ 2022-08-15 17:28 vsevolod.livinskiy at gmail dot com
  2022-08-15 17:33 ` [Bug tree-optimization/106630] " pinskia at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: vsevolod.livinskiy at gmail dot com @ 2022-08-15 17:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106630
           Summary: [13 Regression] ICE: Segmentation fault signal
                    terminated program cc1plus with -O2
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vsevolod.livinskiy at gmail dot com
  Target Milestone: ---

Link to the Compiler Explorer: https://godbolt.org/z/1hs7ssMrd

Reproducer:

short d, e;
int f;
extern short g[][24];
char c;
void h() {
  char a = 6;
  c = a;
  for (unsigned long a = (d || e) - 1; a < c; a += f)
    for (signed b = 0; b < 24; b++)
      g[a][b] = 4;
}

Error:
>$ g++ -O2 -c func.cpp
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus

gcc version 13.0.0 20220815 (6624ad73064de241e937e97a28b65c50fe14c78e)

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

end of thread, other threads:[~2022-08-16  9:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 17:28 [Bug tree-optimization/106630] New: [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 vsevolod.livinskiy at gmail dot com
2022-08-15 17:33 ` [Bug tree-optimization/106630] " pinskia at gcc dot gnu.org
2022-08-15 17:45 ` mpolacek at gcc dot gnu.org
2022-08-15 19:27 ` [Bug tree-optimization/106630] [13 Regression] ICE: Segmentation fault signal terminated program cc1plus with -O2 since r13-1268-g8c99e307b20c50 aldyh at gcc dot gnu.org
2022-08-15 21:34 ` aldyh at gcc dot gnu.org
2022-08-15 21:39 ` pinskia at gcc dot gnu.org
2022-08-15 22:09 ` aldyh at gcc dot gnu.org
2022-08-16  7:41 ` rguenth at gcc dot gnu.org
2022-08-16  7:47 ` aldyh at gcc dot gnu.org
2022-08-16  7:54 ` rguenther at suse dot de
2022-08-16  9:20 ` cvs-commit at gcc dot gnu.org
2022-08-16  9:21 ` 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).