public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107381] New: ICE in scan_omp_target, at omp-low.cc:3126
@ 2022-10-24 17:53 gscfq@t-online.de
  2022-10-24 18:35 ` [Bug c/107381] ICE in scan_omp_target, at omp-low.cc:3126 since r10-2307-g8860d2706d9bd21d marxin at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: gscfq@t-online.de @ 2022-10-24 17:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107381
           Summary: ICE in scan_omp_target, at omp-low.cc:3126
           Product: gcc
           Version: 13.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 r10, using file c-c++-common/gomp/target-is-device-ptr-2.c :


$ cat z1.c
void
foo ()
{
  int *x, *y;
  #pragma omp target data map(x, y) use_device_ptr(x, y)
    #pragma omp target is_device_ptr(x, y)
      {
        *x = 42;
      }
}


$ gcc-13-20221023 -c z1.c -m32 -fopenmp -fsanitize=address
during GIMPLE pass: omplower
z1.c: In function 'foo':
z1.c:5:11: internal compiler error: in scan_omp_target, at omp-low.cc:3126
    5 |   #pragma omp target data map(x, y) use_device_ptr(x, y)
      |           ^~~
0xd5e749 scan_omp_target
        ../../gcc/omp-low.cc:3126
0xd5f57a scan_omp_1_stmt
        ../../gcc/omp-low.cc:4327
0xb80ef6 walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
        ../../gcc/gimple-walk.cc:608
0xb81110 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.cc:51
0xb81051 walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
        ../../gcc/gimple-walk.cc:671
0xb81110 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.cc:51
0xb80fb1 walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
        ../../gcc/gimple-walk.cc:635
0xb81110 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.cc:51
0xd4ab8d scan_omp
        ../../gcc/omp-low.cc:4377
0xd7055a execute_lower_omp
        ../../gcc/omp-low.cc:14669
0xd7055a execute
        ../../gcc/omp-low.cc:14733

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

* [Bug c/107381] ICE in scan_omp_target, at omp-low.cc:3126 since r10-2307-g8860d2706d9bd21d
  2022-10-24 17:53 [Bug c/107381] New: ICE in scan_omp_target, at omp-low.cc:3126 gscfq@t-online.de
@ 2022-10-24 18:35 ` marxin at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-24 18:35 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in scan_omp_target, at  |ICE in scan_omp_target, at
                   |omp-low.cc:3126             |omp-low.cc:3126 since
                   |                            |r10-2307-g8860d2706d9bd21d
     Ever confirmed|0                           |1
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2022-10-24
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r10-2307-g8860d2706d9bd21d.

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

end of thread, other threads:[~2022-10-24 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24 17:53 [Bug c/107381] New: ICE in scan_omp_target, at omp-low.cc:3126 gscfq@t-online.de
2022-10-24 18:35 ` [Bug c/107381] ICE in scan_omp_target, at omp-low.cc:3126 since r10-2307-g8860d2706d9bd21d marxin 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).