Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-19 Thread Christophe Lyon via Gcc-patches
On Mon, 19 Apr 2021 at 12:40, Tobias Burnus wrote: > > On 19.04.21 11:25, Tobias Burnus wrote: > > On 19.04.21 10:48, Christophe Lyon wrote: > >> The new test generates an ICE on aarch64-linux-gnu in the gcc-10 branch: > > Looks as someone (like me) should backport https://gcc.gnu.org/97880 / > >

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-19 Thread Tobias Burnus
On 19.04.21 11:25, Tobias Burnus wrote: On 19.04.21 10:48, Christophe Lyon wrote: The new test generates an ICE on aarch64-linux-gnu in the gcc-10 branch: Looks as someone (like me) should backport https://gcc.gnu.org/97880 / r11-5489 to GCC 10. ("OpenACC: Fix integer-type issue with collapse/

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-19 Thread Tobias Burnus
On 19.04.21 10:48, Christophe Lyon wrote: The new test generates an ICE on aarch64-linux-gnu in the gcc-10 branch: Looks as someone (like me) should backport https://gcc.gnu.org/97880 / r11-5489 to GCC 10. /gcc/testsuite/c-c++-common/goacc/collapse-2.c: In function 'f5._omp_fn.0': /gcc/testsui

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-19 Thread Christophe Lyon via Gcc-patches
Hi, On Fri, 9 Apr 2021 at 18:44, Hafiz Abid Qadeer wrote: > > Thanks for the review. Please see my comments below. > > On 09/04/2021 13:48, Tobias Burnus wrote: > > Hi Abid, > > > > I think that's the same issue as https://gcc.gnu.org/PR98088 > > if so, please add 'PR middle-end/98088' to the c

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-09 Thread Hafiz Abid Qadeer
d78b17dc186a9b75f2ff9e35eeb0 Mon Sep 17 00:00:00 2001 From: Hafiz Abid Qadeer Date: Thu, 8 Apr 2021 17:31:30 +0100 Subject: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed. We have seen an ICE both on trunk and devel/omp/gcc-10 branches which can be reprodued with this sim

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-09 Thread Tobias Burnus
Hi Abid, I think that's the same issue as https://gcc.gnu.org/PR98088 if so, please add 'PR middle-end/98088' to the changelog. I think the second testcase is covered, but you could also add the first testcase to c-c++-common/goacc/collapse-2.c – the first testcase in the PR is for a zero-trip l

Re: [PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-09 Thread Thomas Schwinge
Hi Abid! Is enabled for accessing GCC (that is, )? If not, please request as indicated on : "send an email to the overseers mail account at this site telling what project you want write access to and who approved that access". On 2021-04-09T11:38

[PATCH] [OpenACC] Fix an ICE where a loop with GT condition is collapsed.

2021-04-09 Thread Hafiz Abid Qadeer
We have seen an ICE both on trunk and devel/omp/gcc-10 branches which can be reprodued with this simple testcase. It occurs if an OpenACC loop has a collapse clause and any of the loop being collapsed uses GT or GE condition. This issue is specific to OpenACC. int main (void) { int ix, iy; i