[Bug tree-optimization/61452] [4.8 Regression] hang at -O1 and -Os on x86_64-linux-gnu

2014-09-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61452

--- Comment #7 from Richard Biener  ---
Author: rguenth
Date: Tue Sep  9 14:45:57 2014
New Revision: 215081

URL: https://gcc.gnu.org/viewcvs?rev=215081&root=gcc&view=rev
Log:
2014-09-09  Richard Biener  

Backport from mainline
2014-06-11  Richard Biener  

PR tree-optimization/61452
* tree-ssa-sccvn.c (visit_phi): Remove pointless setting of
expr and has_constants in case we found a leader.
(simplify_binary_expression): Always valueize operands first.
(simplify_unary_expression): Likewise.

* gcc.dg/torture/pr61452.c: New testcase.

Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr61452.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-sccvn.c


[Bug tree-optimization/61452] [4.8 Regression] hang at -O1 and -Os on x86_64-linux-gnu

2014-09-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61452

Richard Biener  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work|4.10.0  |4.8.4, 5.0
 Resolution|--- |FIXED

--- Comment #6 from Richard Biener  ---
Fixed.


[Bug tree-optimization/61452] [4.8 Regression] hang at -O1 and -Os on x86_64-linux-gnu

2014-06-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61452

Richard Biener  changed:

   What|Removed |Added

  Known to work||4.10.0, 4.9.1
Summary|[4.8/4.9/4.10 Regression]   |[4.8 Regression] hang at
   |hang at -O1 and -Os on  |-O1 and -Os on
   |x86_64-linux-gnu|x86_64-linux-gnu
  Known to fail||4.8.3, 4.9.0

--- Comment #5 from Richard Biener  ---
Fixed on trunk/4.9 sofar.