From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from p-impout004.msg.pkvw.co.charter.net (p-impout004aa.msg.pkvw.co.charter.net [47.43.26.135]) by sourceware.org (Postfix) with ESMTPS id 21C7F3858C2B for ; Thu, 5 Nov 2020 18:41:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 21C7F3858C2B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=roadrunner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kitmchow@roadrunner.com Received: from [192.168.1.20] ([76.176.185.162]) by cmsmtp with ESMTPA id akCJkhD34OboRakCKkPBwx; Thu, 05 Nov 2020 18:41:24 +0000 X-Authority-Analysis: v=2.3 cv=MM4eZ/Rl c=1 sm=1 tr=0 a=iJ05wsuosbZ5CNCfIWwacg==:117 a=iJ05wsuosbZ5CNCfIWwacg==:17 a=IkcTkHD0fZMA:10 a=U1zIb6Ii96iiQJWwZ8UA:9 a=QEXdDO2ut3YA:10 a=QYH75iMubAgA:10 Subject: Re: disable generation of .cold functions To: Florian Weimer Cc: gcc-help@gcc.gnu.org References: <87h7q3wvqz.fsf@oldenburg2.str.redhat.com> From: Kit Chow Message-ID: <009cafac-874e-a4f6-2eba-aa845f9bb807@roadrunner.com> Date: Thu, 5 Nov 2020 10:41:14 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: <87h7q3wvqz.fsf@oldenburg2.str.redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-CMAE-Envelope: MS4wfJ5cpG4djfdsJPorHja2IdoWjYSNWhkd3muUnIqK3Bg5gUpMxQfgb2wya5b/CeDravaUNY55PUxCOCQPYc2p5QrPRHEEFlWFRMFaMGDs88SpxX5AdnzC Rz2ByI5YcH86dK4NSuq5cR8cl1y/AwOm9NgR74euWxEAmsvSs5LtIcASzmEsNArrlaCXKLsXqNqJiT20hlDQmxcOlEvUViAqji4= X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 18:41:26 -0000 Hi Florian, That did the trick. Thanks so much! Kit On 11/5/2020 9:37 AM, Florian Weimer wrote: > * Kit Chow: > >> Is there a gcc option to disable the generation of .cold functions? >> I can't find anything explicit in the driver source/Makefile to create >> .cold functions. > You could try -fno-reorder-blocks-and-partition. I just found the > option in the documentation, so I don't know if it really works for this > specific case, sorry. > > Florian