public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102504] New: [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746
@ 2021-09-27 19:47 gscfq@t-online.de
  2021-09-27 19:51 ` [Bug c/102504] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2021-09-27 19:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

end of thread, other threads:[~2021-10-01 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 19:47 [Bug c/102504] New: [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746 gscfq@t-online.de
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

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).