From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7267 invoked by alias); 9 Jul 2009 02:19:46 -0000 Received: (qmail 7255 invoked by uid 22791); 9 Jul 2009 02:19:45 -0000 X-SWARE-Spam-Status: No, hits=-51.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jul 2009 02:19:37 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n692JZGU025952 for ; Wed, 8 Jul 2009 22:19:35 -0400 Received: from greed.delorie.com (vpn-9-137.rdu.redhat.com [10.11.9.137]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n692JYEN029429 for ; Wed, 8 Jul 2009 22:19:35 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1] (may be forged)) by greed.delorie.com (8.14.3/8.14.3) with ESMTP id n692JY9U030930 for ; Wed, 8 Jul 2009 22:19:34 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.3/8.14.3/Submit) id n692JYkr030927; Wed, 8 Jul 2009 22:19:34 -0400 Date: Thu, 09 Jul 2009 02:19:00 -0000 Message-Id: <200907090219.n692JYkr030927@greed.delorie.com> From: DJ Delorie To: gcc@gcc.gnu.org Subject: TARGET_OPTION_CAN_INLINE_P vs TARGET_CAN_INLINE_P X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00151.txt.bz2 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?