------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-01 08:52 -------
>/root/downloads/gcc-4_3-trunk/gcc/toplev.c:558: Error: There is a definition
already for floor_log2
This is because floor_log2 uses the GNU C "extern inline".
>/gcc-4_3-trunk/gcc/config/i386/i386.c:4121: warning: unused parameter 'named'
> /gcc-4_3-trunk/gcc/config/i386/i386.c:4402: warning: unused parameter
> 'valtype'
This is a bug in the cilly because they are used, just not used if
TARGET_64BIT_MS_ABI is always false which is the reason why GCC does not warn
(this is not a preprocessed conditional but instead a compile time
conditional).
>/gcc-4_3-trunk/gcc/builtins.c:9410: warning: ISO C forbids casting nonscalar
>to the same type
> /gcc-4_3-trunk/gcc/builtins.c:9416: warning: ISO C forbids casting nonscalar
> to the same type
There is no cast there.
So this obviously a bug in cilly.
So all the warnings you pointed out are really bugs in cilly and not bugs in
GCC sources.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32570