[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752

--- Comment #20 from Jakub Jelinek  ---
Author: jakub
Date: Fri Aug 30 12:28:22 2019
New Revision: 275138

URL: https://gcc.gnu.org/viewcvs?rev=275138&root=gcc&view=rev
Log:
Backported from mainline
2019-03-20  Jakub Jelinek  

PR target/89752
* lra-constraints.c (process_alt_operands) : For BLKmode, don't
update this_alternative nor this_alternative_set.

Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/lra-constraints.c

[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752

--- Comment #19 from Jakub Jelinek  ---
Author: jakub
Date: Fri Aug 30 12:27:21 2019
New Revision: 275136

URL: https://gcc.gnu.org/viewcvs?rev=275136&root=gcc&view=rev
Log:
Backported from mainline
2019-03-19  Jakub Jelinek  

PR target/89752
* gimplify.c (gimplify_asm_expr): For output argument with
TREE_ADDRESSABLE type, clear allows_reg if it allows memory, otherwise
diagnose error.

* g++.dg/ext/asm15.C: Check for particular diagnostic wording.
* g++.dg/ext/asm16.C: Likewise.
* g++.dg/ext/asm17.C: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm17.C
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/gimplify.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm15.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm16.C

[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

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

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work||8.3.1, 9.0
 Resolution|--- |FIXED
  Known to fail|8.3.1, 9.0  |8.3.0

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

[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

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

--- Comment #17 from Jakub Jelinek  ---
Author: jakub
Date: Tue Apr 30 20:50:48 2019
New Revision: 270737

URL: https://gcc.gnu.org/viewcvs?rev=270737&root=gcc&view=rev
Log:
Backported from mainline
2019-03-20  Jakub Jelinek  

PR target/89752
* lra-constraints.c (process_alt_operands) : For BLKmode, don't
update this_alternative nor this_alternative_set.

Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/lra-constraints.c

[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

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

--- Comment #16 from Jakub Jelinek  ---
Author: jakub
Date: Tue Apr 30 20:49:38 2019
New Revision: 270735

URL: https://gcc.gnu.org/viewcvs?rev=270735&root=gcc&view=rev
Log:
Backported from mainline
2019-03-19  Jakub Jelinek  

PR target/89752
* gimplify.c (gimplify_asm_expr): For output argument with
TREE_ADDRESSABLE type, clear allows_reg if it allows memory, otherwise
diagnose error.

* g++.dg/ext/asm15.C: Check for particular diagnostic wording.
* g++.dg/ext/asm16.C: Likewise.
* g++.dg/ext/asm17.C: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm17.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/gimplify.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm15.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm16.C

[Bug target/89752] [8 Regression] ICE in emit_move_insn, at expr.c:3723

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

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords|needs-reduction |
 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
Summary|[8/9 Regression] ICE in |[8 Regression] ICE in
   |emit_move_insn, at  |emit_move_insn, at
   |expr.c:3723 |expr.c:3723