From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20995 invoked by alias); 22 Jul 2014 14:15:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20947 invoked by uid 89); 22 Jul 2014 14:15:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mailout4.w1.samsung.com Received: from mailout4.w1.samsung.com (HELO mailout4.w1.samsung.com) (210.118.77.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (DES-CBC3-SHA encrypted) ESMTPS; Tue, 22 Jul 2014 14:15:42 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N94007DGA9T3BC0@mailout4.w1.samsung.com>; Tue, 22 Jul 2014 15:15:29 +0100 (BST) Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 27.63.19257.A027EC35; Tue, 22 Jul 2014 15:15:38 +0100 (BST) Received: from [106.109.9.145] by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N9400CDOAA16U30@eusync3.samsung.com>; Tue, 22 Jul 2014 15:15:38 +0100 (BST) Message-id: <53CE720A.4030002@samsung.com> Date: Tue, 22 Jul 2014 14:20:00 -0000 From: Yury Gribov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-version: 1.0 To: Richard Biener Cc: GCC Patches , Jakub Jelinek , Konstantin Serebryany , Dmitry Vyukov , Viacheslav Garbuzov , Marek Polacek Subject: Re: [PATCH] Move Asan instrumentation to sanopt pass References: <53C922DE.6020000@samsung.com> In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg01442.txt.bz2 On 07/22/2014 05:57 PM, Richard Biener wrote: >> I probably could >> provide fnspec with (EAF_DIRECT | EAF_NOCLOBBER | EAF_NOESCAPE) or >> even EAF_UNUSED for these functions but this does not seem >> to be supported in current middle-end. > > Simply add the "fn spec" attribute to the functions? Problem is that internal functions don't seem to support this (gimple_statement_call::fntype and gimple_statement_call::internal_fn occupy the same field). I wasn't sure about the reasons for this so decided change them in original patch. Do you think we should we allow fntype for internal functions? -Y