This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Remove 5 target macros that are documented but not used.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Feb 2004 18:32:11 -0700 (MST)
- Subject: 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
--