From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87710 invoked by alias); 2 Sep 2015 20:14:39 -0000 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 Received: (qmail 87694 invoked by uid 89); 2 Sep 2015 20:14:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,URI_HEX autolearn=no version=3.3.2 X-HELO: mbob.nabble.com Received: from mbob.nabble.com (HELO mbob.nabble.com) (162.253.133.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Sep 2015 20:14:36 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 437B2149A840 for ; Wed, 2 Sep 2015 13:11:23 -0700 (PDT) Date: Wed, 02 Sep 2015 20:14:00 -0000 From: k9119911 To: gcc-help@gcc.gnu.org Message-ID: <1441224874603-1182208.post@n5.nabble.com> Subject: Need to the size of a record in gimple MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2015-09/txt/msg00009.txt.bz2 Hi I need to do some instrumentations in gimple. Currently, I need to get the size of a record as a tree node. Example: op0 is a tree node and TREE_TYPE(op0) is record type. Then how do I get the size of it in gimple like sizeof(struct of op0). Thanks -- View this message in context: http://gcc.1065356.n5.nabble.com/Need-to-the-size-of-a-record-in-gimple-tp1182208.html Sent from the gcc - Help mailing list archive at Nabble.com.