This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
TARGET_OPTION_CAN_INLINE_P vs TARGET_CAN_INLINE_P
- From: DJ Delorie <dj at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 8 Jul 2009 22:19:34 -0400
- Subject: TARGET_OPTION_CAN_INLINE_P vs TARGET_CAN_INLINE_P
The documentation says:
@deftypefn {Target Hook} bool TARGET_CAN_INLINE_P (tree @var{caller}, tree @var{callee})
But the code says:
#ifndef TARGET_OPTION_CAN_INLINE_P
#define TARGET_OPTION_CAN_INLINE_P default_target_option_can_inline_p
#endif
#define TARGET_OPTION_HOOKS \
{ \
. . .
TARGET_OPTION_CAN_INLINE_P, \
This hook really has nothing to do with command line options. Which
spelling is correct? The code, or the documentation?