[Bug middle-end/88968] [8 Regression] Stack overflow in gimplify_expr

2019-02-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88968

Jakub Jelinek  changed:

   What|Removed |Added

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

--- Comment #8 from Jakub Jelinek  ---
Fixed for 8.3+ too.

[Bug middle-end/88968] [8 Regression] Stack overflow in gimplify_expr

2019-02-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88968

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Thu Feb  7 14:37:26 2019
New Revision: 268628

URL: https://gcc.gnu.org/viewcvs?rev=268628=gcc=rev
Log:
Backported from mainline
2019-01-22  Jakub Jelinek  

PR middle-end/88968
* gimplify.c (gimplify_omp_atomic): Handle bitfield atomics with
non-integral DECL_BIT_FIELD_REPRESENTATIVEs.

* c-omp.c (c_finish_omp_atomic): For bitfield atomics, update type
variable after using BIT_FIELD_REF.

* c-c++-common/gomp/atomic-23.c: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/atomic-23.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/c-family/ChangeLog
branches/gcc-8-branch/gcc/c-family/c-omp.c
branches/gcc-8-branch/gcc/gimplify.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug middle-end/88968] [8 Regression] Stack overflow in gimplify_expr

2019-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88968

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[8/9 Regression] Stack  |[8 Regression] Stack
   |overflow in gimplify_expr   |overflow in gimplify_expr

--- Comment #6 from Jakub Jelinek  ---
Fixed on the trunk so far.