------- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-13 07:30 ------- The C extensions are disabled with --disable-decimal-float. I never said they were not, in fact here is a quote from me: Even if you disable dfp, libdecnumber is still needed to compile gcc as disable-decimal-float really just disables the C interface
Again --disiable-decimal-float just disables the C interface and not the support library. ----- cut ------ What don't you understand about "C interface"? Also the library libdecnumber is licensed under GPL+extension and not LGPL. Please read the header and source files before saying they are under a license when they are not. This is just like libgcc's license. GPLv3 is not going to replace GPL+ exception, the exception is still going to be there, nothing is going to change. To answer your points: 1) It is a copyright license, it gives you rights which you don't have before with the code. 2) Use -pedantic-errors if you want full C90 complaint (or -std=c99 -pedantic-errors for C99). 3) see above about GPL+exception. 4) See above about my comments about disabling the C interface with --disable-decimal-float and about -pedantic-errors in 1). 5) wtf, I really mean WHAT THE FUCK. Come on, this is a joke, right? But really see my point about GPL+ exception, if you don't understand the exception, then get a laywer to read it. It is not like we are all lawyers here. So again --disable-decimal-float disables the C interface. The version of the library which is being compiled is really the library that gets linked into GCC. The code in c-decl.c shows that -pedantic-errors will disable this extension: if (!targetm.decimal_float_supported_p ()) error ("decimal floating point not supported for this target"); if (pedantic) pedwarn ("ISO C does not support decimal floating point"); And it also shows it will disable it for --disable-decimal-float as the default (and only one) decimal_float_supported_p does: bool default_decimal_float_supported_p (void) { return ENABLE_DECIMAL_FLOAT; } and ENABLE_DECIMAL_FLOAT is set to 0 by configure: dfp=`if test $enable_decimal_float != no; then echo 1; else echo 0; fi` AC_DEFINE_UNQUOTED(ENABLE_DECIMAL_FLOAT, $dfp, [Define to 1 to enable decimal float extension to C.]) Where enable_decimal_float is set: AC_ARG_ENABLE(decimal-float, [ --enable-decimal-float={no,yes,bid,dpd} enable decimal float extension to C. Selecting 'bid' or 'dpd' choses which decimal floating point format to use], [ case $enable_decimal_float in yes | no | bid | dpd) ;; *) AC_MSG_ERROR(['$enable_decimal_float' is an invalid value for --enable-decimal-float. Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; esac ], [ case $target in powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*) enable_decimal_float=yes ;; *) AC_MSG_WARN(decimal float is not supported for this target, ignored) enable_decimal_float=no ;; esac ]) What more do you want to say? -- 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=32314