public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97862] New: [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524
@ 2020-11-16 19:05 gscfq@t-online.de
  2020-11-16 19:38 ` [Bug c/97862] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2020-11-16 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97862
           Summary: [11 Regression] ICE in expand_omp_for_init_vars, at
                    omp-expand.c:2524
           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: ---

Changed between 20200705 and 20200712 :


$ cat z1.c
void f ()
{
  int i, j;
#pragma omp for collapse(2)
  for (i = 0; i < 1; ++i)
    for (j = 0; j < i; ++j);
}


$ gcc-11-20200705 -c z1.c -fopenmp
$
$ gcc-11-20201115 -c z1.c -fopenmp
during GIMPLE pass: ompexp
z1.c: In function 'f':
z1.c:4:9: internal compiler error: Segmentation fault
    4 | #pragma omp for collapse(2)
      |         ^~~
0xb3b52f crash_signal
        ../../gcc/toplev.c:330
0x145ebc6 expand_omp_for_init_vars
        ../../gcc/omp-expand.c:2524
0x146be17 expand_omp_for_static_nochunk
        ../../gcc/omp-expand.c:5261
0x1474b6c expand_omp_for
        ../../gcc/omp-expand.c:8006
0x147537a expand_omp
        ../../gcc/omp-expand.c:9883
0x147725d execute_expand_omp
        ../../gcc/omp-expand.c:10115

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

end of thread, other threads:[~2020-11-18 13:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 19:05 [Bug c/97862] New: [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524 gscfq@t-online.de
2020-11-16 19:38 ` [Bug c/97862] " jakub at gcc dot gnu.org
2020-11-16 19:47 ` [Bug middle-end/97862] " marxin at gcc dot gnu.org
2020-11-16 20:01 ` jakub at gcc dot gnu.org
2020-11-17  7:16 ` rguenth at gcc dot gnu.org
2020-11-17 14:54 ` jakub at gcc dot gnu.org
2020-11-18  8:43 ` cvs-commit at gcc dot gnu.org
2020-11-18 13:46 ` jakub 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).