GDB/libiberty support for IBM long double

Ulrich Weigand uweigand@de.ibm.com
Fri Nov 9 01:26:00 GMT 2007


Joseph S. Myers wrote:

> 	(floatformat_ibm_long_double_is_valid,
> 	floatformat_ibm_long_double): New.

Looks like something isn't quite right here:

/home/uweigand/fsf/gdb-head/libiberty/floatformat.c: In function 'floatformat_ibm_long_double_is_valid':
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:286: warning: comparison between signed and unsigned
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:295: warning: comparison between signed and unsigned
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:298: warning: unused variable 'mant_bits_left'
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:297: warning: unused variable 'mant_off'
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:297: warning: unused variable 'mant_bits'
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:321: warning: comparison between signed and unsigned
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c: At top level:
/home/uweigand/fsf/gdb-head/libiberty/floatformat.c:275: warning: 'floatformat_ibm_long_double_is_valid' defined but not used


floatformat_ibm_long_double uses floatformat_always_valid
instead of floatformat_ibm_long_double_is_valid ...


Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gcc-patches mailing list