public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/98088] [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533 Date: Mon, 01 Feb 2021 12:57:54 +0000 [thread overview] Message-ID: <bug-98088-4-gRp3KuGQK1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98088-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98088 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- void foo (int a[32][32]) { #pragma acc parallel loop collapse(2) for (int i = 16; i > 8; i--) for (int j = 16; j > 8; j--) a[i][j] = i + j; } ICEs too. The 1544 gcc_assert (loop->cond_code == fd->loop.cond_code); assertion is just wrong, at least generic code for collapsed loops makes the fd->loop.cond_code always LT_EXPR, it iterates from 0 to number of logical iterations of the loop nest, while the individual loops in the loop nest can go in various directions. This exact testcase started to ICE with the introduction of expand_oacc_collapse_init in r6-4364-ge4834818d22f5c663b24940fd5b04da266e11fe8
next prev parent reply other threads:[~2021-02-01 12:57 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-01 17:57 [Bug c/98088] New: " gscfq@t-online.de 2020-12-02 8:21 ` [Bug middle-end/98088] " rguenth at gcc dot gnu.org 2021-01-14 10:58 ` rguenth at gcc dot gnu.org 2021-01-29 14:04 ` jakub at gcc dot gnu.org 2021-01-29 14:11 ` jakub at gcc dot gnu.org 2021-02-01 12:57 ` jakub at gcc dot gnu.org [this message] 2021-04-11 13:54 ` cvs-commit at gcc dot gnu.org 2021-04-11 13:56 ` abidh at gcc dot gnu.org 2021-04-18 11:56 ` cvs-commit 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-98088-4-gRp3KuGQK1@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).