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/98089] New: ICE in build_outer_var_ref, at omp-low.c:725
Date: Tue, 01 Dec 2020 17:59:14 +0000	[thread overview]
Message-ID: <bug-98089-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 98089
           Summary: ICE in build_outer_var_ref, at omp-low.c:725
           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 r6 :


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


$ gcc-11-20201129 -c z1.c -fopenmp
during GIMPLE pass: omplower
z1.c: In function 'f':
z1.c:3:9: internal compiler error: in build_outer_var_ref, at omp-low.c:725
    3 | #pragma omp for linear(n:1)
      |         ^~~
0xa257de build_outer_var_ref
        ../../gcc/omp-low.c:725
0xa33b37 lower_rec_input_clauses
        ../../gcc/omp-low.c:5777
0xa3cf6d lower_omp_for
        ../../gcc/omp-low.c:10917
0xa2bf3e lower_omp_1
        ../../gcc/omp-low.c:13231
0xa2bf3e lower_omp
        ../../gcc/omp-low.c:13418
0xa2acad lower_omp_1
        ../../gcc/omp-low.c:13215
0xa2acad lower_omp
        ../../gcc/omp-low.c:13418
0xa2acad lower_omp_1
        ../../gcc/omp-low.c:13215
0xa2acad lower_omp
        ../../gcc/omp-low.c:13418
0xa327d3 execute_lower_omp
        ../../gcc/omp-low.c:13457
0xa327d3 execute
        ../../gcc/omp-low.c:13505

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 17:59 gscfq@t-online.de [this message]
2020-12-01 20:00 ` [Bug c/98089] " marxin at gcc dot gnu.org
2024-03-26  6:33 ` [Bug middle-end/98089] " pinskia 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-98089-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).