[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher

2009-12-11 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2009-12-11 23:39 --- Subject: Bug 42142 Author: hjl Date: Fri Dec 11 23:36:24 2009 New Revision: 155184 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155184 Log: Backport testcases from trunk. 2009-12-11 H.J. Lu

[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher

2009-11-24 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-11-24 11:57 --- Subject: Bug 42142 Author: rguenth Date: Tue Nov 24 11:57:26 2009 New Revision: 154494 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154494 Log: 2009-11-24 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher

2009-11-24 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-11-24 11:57 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher

2009-11-23 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-11-23 13:29 --- int __attribute__((noinline,noclone)) sort(int L) { int end[2] = { 10, 10, }, i=0, R; while (i2) { R = end[i]; if (LR) { end[i+1] = 1; end[i] = 10; ++i;