[Bug middle-end/90840] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6441

2019-12-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90840

--- Comment #10 from Eric Botcazou  ---
Author: ebotcazou
Date: Sat Dec  7 12:20:44 2019
New Revision: 279076

URL: https://gcc.gnu.org/viewcvs?rev=279076=gcc=rev
Log:
PR middle-end/90840
* expr.c (expand_assignment): In the case of a CONCAT on the LHS, make
sure to pass a valid inner mode in calls to simplify_gen_subreg.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c

[Bug middle-end/90840] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6441

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

Jakub Jelinek  changed:

   What|Removed |Added

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

--- Comment #9 from Jakub Jelinek  ---
Fixed for 8.4+ too.

[Bug middle-end/90840] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6441

2019-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90840

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Thu Nov 21 17:20:47 2019
New Revision: 278586

URL: https://gcc.gnu.org/viewcvs?rev=278586=gcc=rev
Log:
Backported from mainline
2019-11-20  Jakub Jelinek  

PR middle-end/90840
* expmed.c (store_bit_field_1): Handle the case where op0 is not a MEM
and has a mode that doesn't have corresponding integral type.

* gcc.c-torture/compile/pr90840.c: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr90840.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/expmed.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug middle-end/90840] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6441

2019-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90840

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[8/9 Regression] ICE in |[8 Regression] ICE in
   |simplify_subreg, at |simplify_subreg, at
   |simplify-rtx.c:6441 |simplify-rtx.c:6441

--- Comment #7 from Jakub Jelinek  ---
Fixed for 9.3+ too.