public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/113724] New: [14 Regression][OpenMP] ICE (segfault) when mapping a struct in omp_gather_mapping_groups_1
@ 2024-02-02 15:39 burnus at gcc dot gnu.org
  2024-02-05  8:51 ` [Bug middle-end/113724] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: burnus at gcc dot gnu.org @ 2024-02-02 15:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113724
           Summary: [14 Regression][OpenMP] ICE (segfault) when mapping a
                    struct in omp_gather_mapping_groups_1
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, openmp
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---

Created attachment 57295
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57295&action=edit
compile with: gcc -fopenmp target_struct_map.4

The attached testcase from the OpenMP examples document now ICEs in the
new omp_gather_mapping_groups_1 function.

* * *

target_struct_map.4.c: In function ‘main’:
target_struct_map.4.c:46:11: internal compiler error: Segmentation fault
   46 |   #pragma omp target data map(S1.p[:N],S1.p,S1.a,S1.b)
      |           ^~~
0x1045382 crash_signal
        /home/tburnus/repos/gcc/gcc/toplev.cc:317
0x7fc380e4251f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xcf8263 tree_check(tree_node*, char const*, int, char const*, tree_code)
        /home/tburnus/repos/gcc/gcc/tree.h:3611
0xcf8263 omp_gather_mapping_groups_1
        /home/tburnus/repos/gcc/gcc/gimplify.cc:9583
0xd0bc32 omp_gather_mapping_groups
        /home/tburnus/repos/gcc/gcc/gimplify.cc:9610
0xd0bc32 gimplify_adjust_omp_clauses
        /home/tburnus/repos/gcc/gcc/gimplify.cc:13733
0xd23d27 gimplify_omp_workshare

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

end of thread, other threads:[~2024-05-07  7:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02 15:39 [Bug middle-end/113724] New: [14 Regression][OpenMP] ICE (segfault) when mapping a struct in omp_gather_mapping_groups_1 burnus at gcc dot gnu.org
2024-02-05  8:51 ` [Bug middle-end/113724] " rguenth at gcc dot gnu.org
2024-02-06 12:04 ` burnus at gcc dot gnu.org
2024-02-07 18:21 ` burnus at gcc dot gnu.org
2024-02-07 18:51 ` burnus at gcc dot gnu.org
2024-02-10 11:51 ` burnus at gcc dot gnu.org
2024-02-10 18:08 ` burnus at gcc dot gnu.org
2024-02-13 10:40 ` burnus at gcc dot gnu.org
2024-03-07 20:42 ` law at gcc dot gnu.org
2024-03-26 10:52 ` rguenth at gcc dot gnu.org
2024-03-26 10:58 ` rguenth at gcc dot gnu.org
2024-04-18 15:23 ` [Bug middle-end/113724] [14 Regression][OpenMP] ICE (segfault) when mapping a struct in omp_gather_mapping_groups_1 since r14-6515 jakub at gcc dot gnu.org
2024-04-26  8:41 ` jakub at gcc dot gnu.org
2024-05-07  7:44 ` [Bug middle-end/113724] [14/15 " rguenth 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).