From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17882 invoked by alias); 30 Sep 2011 06:06:00 -0000 Received: (qmail 17871 invoked by uid 22791); 30 Sep 2011 06:05:58 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Sep 2011 06:05:45 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id p8U65idF020356 for ; Thu, 29 Sep 2011 23:05:44 -0700 Received: from yxt3 (yxt3.prod.google.com [10.190.5.195]) by wpaz24.hot.corp.google.com with ESMTP id p8U65hYm031890 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 29 Sep 2011 23:05:43 -0700 Received: by yxt3 with SMTP id 3so1820843yxt.30 for ; Thu, 29 Sep 2011 23:05:43 -0700 (PDT) Received: by 10.236.123.37 with SMTP id u25mr71358856yhh.50.1317362743528; Thu, 29 Sep 2011 23:05:43 -0700 (PDT) Received: by 10.236.123.37 with SMTP id u25mr71358841yhh.50.1317362743411; Thu, 29 Sep 2011 23:05:43 -0700 (PDT) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id s77sm5192566yhe.22.2011.09.29.23.05.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 23:05:42 -0700 (PDT) From: Ian Lance Taylor To: zhang qingshan Cc: gcc-help Subject: Re: How to get the full list of GCC builtins? References: Date: Fri, 30 Sep 2011 07:26:00 -0000 In-Reply-To: (zhang qingshan's message of "Fri, 30 Sep 2011 13:01:01 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00257.txt.bz2 zhang qingshan writes: > Does gcc have any doc/method to get all the builtins it supports? Thanks. You can read the documentation, which I believe lists all of them except a few which are used internally which are intentionally undocumented. Or you can look at the source file gcc/builtins.def. Ian