[Bug tree-optimization/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-23 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-11-23 13:10 --- ==29953== Conditional jump or move depends on uninitialised value(s) ==29953==at 0x400671: sort (qsort.c:16) ==29953==by 0x40079F: main (qsort.c:45) qsort.c.034t.cddce1 deletes the store to end[i+1]. I will

[Bug tree-optimization/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-23 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-11-23 12:40 --- Richard, can you have a look to this one? First blush, I don't see anything wrong with the code... -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---