--- Comment #5 from ubizjak at gmail dot com 2010-09-17 10:02 ---
Confirmed. Regression?
--
ubizjak at gmail dot com changed:
What|Removed |Added
Status|WAITI
--- Comment #4 from ubizjak at gmail dot com 2010-09-17 09:59 ---
This all happens in IF conversion pass.
4.6 regresses in the sense that a branch is emitted instead of cmov for:
int
summation_helper_1 (long * products, unsigned long count)
{
int s = 0;
unsigned long i;
for (i =
--- Comment #3 from ekuznetsov at divxcorp dot com 2010-09-16 23:08 ---
Created an attachment (id=21813)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21813&action=view)
Output of gcc -v -O3 gcc-bug.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45685
--- Comment #1 from ekuznetsov at divxcorp dot com 2010-09-16 01:18 ---
Created an attachment (id=21807)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21807&action=view)
Sample code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45685