This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Remove 5 target macros that are documented but not used.


On Fri, 6 Feb 2004, Kazu Hirata wrote:
> The rest of them simply don't appear anywhere in the source code.
>
>   TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL

This is a typo in the documentation, FLOAT_LIB_COMPARE_RETURNS_BOOL
is both used in the GCC source code and defined by several backends.
Rather than just delete the documentation, it would be better to correct
it, as "FLOAT_LIB_COMPARE_RETURNS_BOOL" is currently undocumented :>

> -
> -@defmac TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL (@var{mode}, @var{comparison})
> -This macro should return @code{true} if the library routine that
> -implements the floating point comparison operator @var{comparison} in
> -mode @var{mode} will return a boolean, and @var{false} if it will
> -return a tristate.
> -
> -GCC's own floating point libraries return tristates from the
> -comparison operators, so the default returns false always.  Most ports
> -don't need to define this macro.
> -@end defmac

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]