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/107381] New: ICE in scan_omp_target, at omp-low.cc:3126 Date: Mon, 24 Oct 2022 17:53:28 +0000 [thread overview] Message-ID: <bug-107381-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2022-10-24 17:53 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-24 17:53 gscfq@t-online.de [this message] 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
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-107381-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: linkBe 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).