------- Comment #2 from hutchinsonandy at aim dot com 2008-01-22 00:26 -------
Created an attachment (id=14992)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14992&action=view)
dce pass RTL dump file (bfore combine)
Posted two RTL dump file of smaller testcase:
long f2(long number_of_digits_to_use)
{
return ( number_of_digits_to_use * 11L ) ;
}
This faile GCC head 4.3.0 of 13/12/2007
Combine decide load of constant is not needed. Seem to happen after combine
tries combining load with multiply (ie multiply by constant).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34916