[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |8.5

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

Jakub Jelinek  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

--- Comment #5 from CVS Commits  ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
:

https://gcc.gnu.org/g:a66e756ea9cf1ce8f2c73bd29bfe7ed785fae89a

commit r8-10868-ga66e756ea9cf1ce8f2c73bd29bfe7ed785fae89a
Author: Jakub Jelinek 
Date:   Thu Dec 10 11:07:07 2020 +0100

openmp: Fix ICE with broken doacross loop [PR98205]

If the loop body doesn't ever continue, we don't have a bb to insert the
updates.  Fixed by not adding them at all in that case.

2020-12-10  Jakub Jelinek  

PR middle-end/98205
* omp-expand.c (expand_omp_for_generic): Fix up broken_loop
handling.

* c-c++-common/gomp/doacross-4.c: New test.

(cherry picked from commit c925d4cebf817905c237aa2d93887f254b4a74f4)

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-04-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

--- Comment #4 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
:

https://gcc.gnu.org/g:6f0a0d1c2bb7ad2020852ccf14ca86967ddb134a

commit r9-9400-g6f0a0d1c2bb7ad2020852ccf14ca86967ddb134a
Author: Jakub Jelinek 
Date:   Thu Dec 10 11:07:07 2020 +0100

openmp: Fix ICE with broken doacross loop [PR98205]

If the loop body doesn't ever continue, we don't have a bb to insert the
updates.  Fixed by not adding them at all in that case.

2020-12-10  Jakub Jelinek  

PR middle-end/98205
* omp-expand.c (expand_omp_for_generic): Fix up broken_loop
handling.

* c-c++-common/gomp/doacross-4.c: New test.

(cherry picked from commit c925d4cebf817905c237aa2d93887f254b4a74f4)

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

--- Comment #3 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
:

https://gcc.gnu.org/g:c925d4cebf817905c237aa2d93887f254b4a74f4

commit r10-9219-gc925d4cebf817905c237aa2d93887f254b4a74f4
Author: Jakub Jelinek 
Date:   Thu Dec 10 11:07:07 2020 +0100

openmp: Fix ICE with broken doacross loop [PR98205]

If the loop body doesn't ever continue, we don't have a bb to insert the
updates.  Fixed by not adding them at all in that case.

2020-12-10  Jakub Jelinek  

PR middle-end/98205
* omp-expand.c (expand_omp_for_generic): Fix up broken_loop
handling.

* c-c++-common/gomp/doacross-4.c: New test.

(cherry picked from commit a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78)

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2020-12-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

--- Comment #2 from CVS Commits  ---
The master branch has been updated by Jakub Jelinek :

https://gcc.gnu.org/g:a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78

commit r11-5897-ga2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78
Author: Jakub Jelinek 
Date:   Thu Dec 10 11:07:07 2020 +0100

openmp: Fix ICE with broken doacross loop [PR98205]

If the loop body doesn't ever continue, we don't have a bb to insert the
updates.  Fixed by not adding them at all in that case.

2020-12-10  Jakub Jelinek  

PR middle-end/98205
* omp-expand.c (expand_omp_for_generic): Fix up broken_loop
handling.

* c-c++-common/gomp/doacross-4.c: New test.

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2020-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

Jakub Jelinek  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1
   Last reconfirmed||2020-12-09

--- Comment #1 from Jakub Jelinek  ---
Created attachment 49712
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49712=edit
gcc11-pr98205.patch

Untested fix.