[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

Rainer Orth  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #9 from Rainer Orth  ---
Reopening as explained in Comment 7.

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

--- Comment #8 from Rainer Orth  ---
Created attachment 46231
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46231&action=edit
gcc 8 reduced testcase

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

--- Comment #7 from Rainer Orth  ---
While my original testcase fails on gcc 7, 8, and 9, the one reduced using gcc
9
only failed on trunk.  I've now ran creduce with the original testcase against
both gcc 7 and 8.  Each run produced a different reduced testcase, neither of
which is fixed by applying the trunk patch to the branches.

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

--- Comment #6 from Rainer Orth  ---
Created attachment 46230
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46230&action=edit
gcc 7 reduced testcase

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

Jakub Jelinek  changed:

   What|Removed |Added

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

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

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Fri Apr 19 11:58:11 2019
New Revision: 270457

URL: https://gcc.gnu.org/viewcvs?rev=270457&root=gcc&view=rev
Log:
PR middle-end/90139
* tree-outof-ssa.c (get_temp_reg): If reg_mode is BLKmode, return
assign_temp instead of gen_reg_rtx.

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

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr90139.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-outof-ssa.c

[Bug middle-end/90139] [9 Regression] ICE in emit_block_move_hints, at expr.c:1601

2019-04-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90139

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P1
   Target Milestone|--- |9.0
Summary|ICE in  |[9 Regression] ICE in
   |emit_block_move_hints, at   |emit_block_move_hints, at
   |expr.c:1601 |expr.c:1601

--- Comment #3 from Jakub Jelinek  ---
At least on x86_64-linux on the testcase in the patch this started to ICE with
r265677, so it is a recent regression.