kamaraju kusumanchi wrote: >> The patch worked. But I think there are more instances of the same problem. >> >> "../../../unZipped/gcc-4.4-20081107/gcc/fixed-value.c", line 294: >> operands have incompatible types: >> struct {unsigned long long low, long long high} ":" const >> struct {unsigned long long low, long long high} >> cc: acomp failed for ../../../unZipped/gcc-4.4-20081107/gcc/fixed-value.c >> make[3]: *** [fixed-value.o] Error 2 >> make[3]: Leaving directory >> `/home/kkusuman/software/compileHere/gcc-4.4-20081107/gcc' >> make[2]: *** [all-stage1-gcc] Error 2 >> make[2]: Leaving directory >> `/home/kkusuman/software/compileHere/gcc-4.4-20081107' >> make[1]: *** [stage1-bubble] Error 2 >> make[1]: Leaving directory >> `/home/kkusuman/software/compileHere/gcc-4.4-20081107' >> make: *** [all] Error 2 >> > > I made a patch for this problem > >> cat patch2.txt > --- fixed-value.c.orig 2008-11-11 13:45:30.655438000 -0500 > +++ fixed-value.c 2008-11-11 13:51:08.102757000 -0500 > @@ -291,7 +291,13 @@ do_fixed_add (FIXED_VALUE_TYPE *f, const > const FIXED_VALUE_TYPE *b, bool subtract_p, bool sat_p) > { > bool overflow_p = false; > - double_int temp = subtract_p ? double_int_neg (b->data) : b->data; > + > + double_int temp; > + if (subtract_p) > + temp = double_int_neg (b->data); > + else > + temp = b->data; > + > bool unsigned_p = UNSIGNED_FIXED_POINT_MODE_P (a->mode); > int i_f_bits = GET_MODE_IBIT (a->mode) + GET_MODE_FBIT (a->mode); > f->mode = a->mode; > > Please check it and push it to the main line. > > PS: I do not have svn installed on this machine. So I was not able to > make the patch against the trunk. Sorry about that. OK, please let me know when you finally get it all built. I need to make a single patch for gcc with all these fixes. Andrew.