[Bug middle-end/89243] [8 Regression] ICE in new test case g++.dg/opt/pr89188.C from r268647

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

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Bug middle-end/89243] [8 Regression] ICE in new test case g++.dg/opt/pr89188.C from r268647

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

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Sat Feb  9 08:51:41 2019
New Revision: 268717

URL: https://gcc.gnu.org/viewcvs?rev=268717=gcc=rev
Log:
PR middle-end/89243
* g++.dg/opt/pr89188.C: Include ../torture/pr88861.C.

Backported from mainline
2019-01-16  David Malcolm  

PR target/88861
* combine.c (delete_noop_moves): Convert to "bool" return,
returning true if any edges are eliminated.
(combine_instructions): Also return true if delete_noop_moves
returns true.

* g++.dg/torture/pr88861.C: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr88861.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/combine.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr89188.C

[Bug middle-end/89243] [8 Regression] ICE in new test case g++.dg/opt/pr89188.C from r268647

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

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-02-08
 CC||dmalcolm at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Jakub Jelinek  ---
The PR88861 patch fixes this ICE.  David, could you please backport it to 8
branch?
I guess this is just a testsuite regression, it used to ICE before too.
We can then change the pr89188.C testcase to include ../torture/pr88861.C like
it does on the trunk.

[Bug middle-end/89243] [8 Regression] ICE in new test case g++.dg/opt/pr89188.C from r268647

2019-02-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89243

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P1
  Component|other   |middle-end
   Target Milestone|--- |8.3
Summary|ICE in new test case|[8 Regression] ICE in new
   |g++.dg/opt/pr89188.C from   |test case
   |r268647 |g++.dg/opt/pr89188.C from
   ||r268647