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/102504] New: [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746
Date: Mon, 27 Sep 2021 19:47:55 +0000	[thread overview]
Message-ID: <bug-102504-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 102504
           Summary: [12 Regression] ICE in build_outer_var_ref, at
                    omp-low.c:746
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20210808 and 20210822, in addition to pr102415 :


$ cat z1.c
void abort ();
void f ()
{
  int r;
  #pragma omp scope reduction(+:r) nowait
  abort ();
}


$ gcc-12-20210926 -c z1.c -fopenmp
during GIMPLE pass: omplower
z1.c: In function 'f':
z1.c:5:11: internal compiler error: in build_outer_var_ref, at omp-low.c:746
    5 |   #pragma omp scope reduction(+:r) nowait
      |           ^~~
0xb621b9 build_outer_var_ref
        ../../gcc/omp-low.c:746
0xb768ea lower_reduction_clauses
        ../../gcc/omp-low.c:7654
0xb687dc lower_omp_scope
        ../../gcc/omp-low.c:8839
0xb687dc lower_omp_1
        ../../gcc/omp-low.c:14101
0xb687dc lower_omp
        ../../gcc/omp-low.c:14283
0xb6922d lower_omp_1
        ../../gcc/omp-low.c:14073
0xb6922d lower_omp
        ../../gcc/omp-low.c:14283
0xb70381 execute_lower_omp
        ../../gcc/omp-low.c:14322
0xb70381 execute
        ../../gcc/omp-low.c:14370

             reply	other threads:[~2021-09-27 19:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 19:47 gscfq@t-online.de [this message]
2021-09-27 19:51 ` [Bug c/102504] " jakub at gcc dot gnu.org
2021-09-27 21:04 ` pinskia at gcc dot gnu.org
2021-09-28 11:49 ` [Bug middle-end/102504] " jakub at gcc dot gnu.org
2021-09-29  8:21 ` cvs-commit at gcc dot gnu.org
2021-10-01 12:40 ` jakub 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-102504-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).