public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98205] New: ICE in expand_omp_for_generic, at omp-expand.c:4307
@ 2020-12-08 17:40 gscfq@t-online.de
  2020-12-09 12:02 ` [Bug middle-end/98205] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2020-12-08 17:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98205
           Summary: ICE in expand_omp_for_generic, at omp-expand.c:4307
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to r6 :


$ cat z1.c
void f (int n)
{
  int i;
  #pragma omp for ordered(1)
  for (i = 0; i < 8; i += n)
    for (;;);
}


$ gcc-11-20201206 -c z1.c -fopenmp
during GIMPLE pass: ompexp
z1.c: In function 'f':
z1.c:4:11: internal compiler error: Segmentation fault
    4 |   #pragma omp for ordered(1)
      |           ^~~
0xd2670f crash_signal
        ../../gcc/toplev.c:327
0x1880c99 bb_seq_addr
        ../../gcc/gimple.h:1764
0x1880c99 gsi_last_bb
        ../../gcc/gimple-iterator.h:164
0x1880c99 expand_omp_for_generic
        ../../gcc/omp-expand.c:4307
0x18852c9 expand_omp_for
        ../../gcc/omp-expand.c:8107
0x188616a expand_omp
        ../../gcc/omp-expand.c:9901
0x188802d execute_expand_omp
        ../../gcc/omp-expand.c:10133

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

end of thread, other threads:[~2021-09-11 14:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 17:40 [Bug c/98205] New: ICE in expand_omp_for_generic, at omp-expand.c:4307 gscfq@t-online.de
2020-12-09 12:02 ` [Bug middle-end/98205] " jakub at gcc dot gnu.org
2020-12-10 10:08 ` cvs-commit at gcc dot gnu.org
2021-01-06  9:39 ` cvs-commit at gcc dot gnu.org
2021-04-20 23:30 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:49 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:08 ` jakub at gcc dot gnu.org
2021-09-11 14:22 ` pinskia 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).