public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/103643] New: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity Date: Fri, 10 Dec 2021 09:59:43 +0000 [thread overview] Message-ID: <bug-103643-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103643 Bug ID: 103643 Summary: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity Product: gcc Version: 12.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 CC: jakub at gcc dot gnu.org Target Milestone: --- Did compile in November but now ICEs. Long testcase: https://github.com/SOLLVE/sollve_vv/blob/master/tests/5.0/task/test_task_affinity_device.F90 ./tests/5.0/task/test_task_affinity_device.F90:47:51: 47 | !$omp task depend(out: B) shared(B) affinity(A) | ^ internal compiler error: in create_tmp_var, at gimple-expr.c:482 0x6dd612 create_tmp_var(tree_node*, char const*) ../../repos/gcc/gcc/gimple-expr.c:482 0xcfada0 create_tmp_from_val ../../repos/gcc/gcc/gimplify.c:570 0xcfada0 lookup_tmp_var ../../repos/gcc/gcc/gimplify.c:588 0xcfada0 internal_get_tmp_var ../../repos/gcc/gcc/gimplify.c:641 0xcf4597 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../repos/gcc/gcc/gimplify.c:15954 0xd0a714 gimplify_omp_affinity ../../repos/gcc/gcc/gimplify.c:8125 0xd0a714 gimplify_scan_omp_clauses ../../repos/gcc/gcc/gimplify.c:10184 Reduced testcase: PROGRAM test_task_affinity INTEGER,ALLOCATABLE:: A(:), B(:) !$omp target map(from: B) !$omp task depend(out: B) shared(B) affinity(A) !$omp end task !$omp end target END PROGRAM test_task_affinity
next reply other threads:[~2021-12-10 9:59 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-10 9:59 burnus at gcc dot gnu.org [this message] 2021-12-10 10:04 ` [Bug middle-end/103643] " jakub at gcc dot gnu.org 2022-01-04 7:37 ` cvs-commit at gcc dot gnu.org 2022-01-04 9:19 ` rguenth 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-103643-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).