public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98088] New: [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533
@ 2020-12-01 17:57 gscfq@t-online.de
  2020-12-02  8:21 ` [Bug middle-end/98088] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2020-12-01 17:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98088
           Summary: [9/10/11 Regression] ICE in expand_oacc_collapse_init,
                    at omp-expand.c:1533
           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: ---

Started with r7 :


$ cat z1.c
void f ()
{
  #pragma acc parallel loop tile(2, 3)
  for (int i = 0; i > 8; i++)
    for (int j = 0; j > 8; j++);
}


$ cat z2.c
void f ()
{
  #pragma acc parallel loop tile(2, 3)
  for (int i = 0; i > 8; i++)
    for (long j = 0; j > 8; j++);
}


$ gcc-6 -c z1.c -fopenmp -fopenacc
$
$ gcc-11-20201129 -c z1.c -fopenmp -fopenacc
during GIMPLE pass: ompexp
z1.c: In function 'f':
z1.c:3:11: internal compiler error: in expand_oacc_collapse_init, at
omp-expand.c:1533
    3 |   #pragma acc parallel loop tile(2, 3)
      |           ^~~
0x1479f31 expand_oacc_collapse_init
        ../../gcc/omp-expand.c:1533
0x1479f31 expand_oacc_for
        ../../gcc/omp-expand.c:7537
0x148f361 expand_omp_for
        ../../gcc/omp-expand.c:8011
0x148fd5a expand_omp
        ../../gcc/omp-expand.c:9901
0x149008e expand_omp
        ../../gcc/omp-expand.c:9887
0x1491bed execute_expand_omp
        ../../gcc/omp-expand.c:10133

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

end of thread, other threads:[~2021-04-18 11:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 17:57 [Bug c/98088] New: [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533 gscfq@t-online.de
2020-12-02  8:21 ` [Bug middle-end/98088] " rguenth at gcc dot gnu.org
2021-01-14 10:58 ` rguenth at gcc dot gnu.org
2021-01-29 14:04 ` jakub at gcc dot gnu.org
2021-01-29 14:11 ` jakub at gcc dot gnu.org
2021-02-01 12:57 ` jakub at gcc dot gnu.org
2021-04-11 13:54 ` cvs-commit at gcc dot gnu.org
2021-04-11 13:56 ` abidh at gcc dot gnu.org
2021-04-18 11:56 ` 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).