Re: "../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Wow, that is one picky compiler.

Lol!

>  It's complaining that in the conditional
> expression
>
>            BUILTIN_SQRT_P (fcode) ? dconsthalf : dconst_third ();
>
> the lhs of the : is struct real_value, the rhs is const struct real_value.
> I think that it's right to complain: the standard says that they must have
> the same structure type, not just that the types are compatible.  This is
> slightly absurd, but it is the letter of the standard.
>
> Please try this.  If it works I'll push it to mainline.
>

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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux