public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/98088] New: [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533
Date: Tue, 01 Dec 2020 17:57:20 +0000	[thread overview]
Message-ID: <bug-98088-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2020-12-01 17:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 17:57 gscfq@t-online.de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98088-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).