public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99322] New: [11 Regression] ICE in change_scope, at final.c:1480
@ 2021-03-01 17:02 gscfq@t-online.de
  2021-03-01 19:10 ` [Bug c/99322] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-03-01 17:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99322
           Summary: [11 Regression] ICE in change_scope, at final.c:1480
           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: ---

Changed between 20201018 and 20201108 :


$ cat z1.c
void g ();
void f ()
{
  #pragma omp parallel
  for (;;)
    for (int i = 0; i < 8; ++i)
      g ();
  { L1: }
  &&L1;
}


$ gcc-11-20210228 -c z1.c -fopenmp -O2 -g
$ gcc-11-20210228 -c z1.c -fopenmp -O3
$
$ gcc-11-20210228 -c z1.c -fopenmp -O3 -g
during RTL pass: final
z1.c: In function 'f._omp_fn.0':
z1.c:4:11: internal compiler error: Segmentation fault
    4 |   #pragma omp parallel
      |           ^~~
0xb5eeff crash_signal
        ../../gcc/toplev.c:327
0x87295d change_scope
        ../../gcc/final.c:1480
0x8792c1 reemit_insn_block_notes
        ../../gcc/final.c:1581
0x8792c1 final_start_function_1
        ../../gcc/final.c:1785
0x879549 rest_of_handle_final
        ../../gcc/final.c:4675
0x879549 execute
        ../../gcc/final.c:4754

---

z1.c: In function 'f._omp_fn.0':
z1.c:10:1: error: location references block not in block tree
   10 | }
      | ^
L1:
during IPA pass: *free_lang_data
z1.c:10:1: internal compiler error: verify_gimple failed
0xd94884 verify_gimple_in_cfg(function*, bool)
        ../../gcc/tree-cfg.c:5477
0xc45d3e execute_function_todo
        ../../gcc/passes.c:2042
0xc46b7d do_per_function
        ../../gcc/passes.c:1694
0xc46be2 execute_todo
        ../../gcc/passes.c:2096

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

end of thread, other threads:[~2021-03-05 21:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 17:02 [Bug c/99322] New: [11 Regression] ICE in change_scope, at final.c:1480 gscfq@t-online.de
2021-03-01 19:10 ` [Bug c/99322] " pinskia at gcc dot gnu.org
2021-03-02  9:42 ` marxin at gcc dot gnu.org
2021-03-05 14:52 ` jakub at gcc dot gnu.org
2021-03-05 16:41 ` jakub at gcc dot gnu.org
2021-03-05 16:59 ` [Bug middle-end/99322] " jakub at gcc dot gnu.org
2021-03-05 20:59 ` cvs-commit at gcc dot gnu.org
2021-03-05 21:01 ` 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).