--- Comment #1 from erg at trifocus dot net 2005-10-11 18:59 ---
Created an attachment (id=9968)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9968&action=view)
scheme48 bignum modified for use with Factor
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24315
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-11 19:00 ---
Oh, can you show the command line invokation of gcc?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24315
--- Comment #3 from erg at trifocus dot net 2005-10-11 19:03 ---
gcc -fpeephole2 s48_bignum.i
Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24315
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-11 19:05 ---
(In reply to comment #2)
> Oh, can you show the command line invokation of gcc?
Never mind, -O0 -fpeephole2 makes it fail.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-11 19:28 ---
Reduced testcase for 4.0.x and above:
void s48_double_to_bignum(int exponent){
long length = exponent) + sizeof (long)) * 8) - 2) - 1)) /
(((sizeof (long)) * 8) - 2)));
}
This really should be filed
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-12 13:30 ---
Here is the one for 3.3.3 and above:
typedef long bignum_digit_type;
void bignum_divide_unsigned_normalized( ){
bignum_digit_type guess;
guess = unsigned long) 1) << (((sizeof (bignum_digit_type)) * 8) - 2)) -
1)
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-12 13:33 ---
(In reply to comment #5)
> Reduced testcase for 4.0.x and above:
Filed as PR 24330.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added