From: "Ilya P. Ryzhenkov" Newsgroups: comp.os.msdos.djgpp Subject: Force call for function Date: Thu, 14 Nov 1996 17:19:24 -0800 Organization: Institute of Semiconductor Physics Lines: 18 Distribution: world Message-ID: <328BC51C.79C6@spy.isp.nsc.ru> Reply-To: ilya AT spy DOT isp DOT nsc DOT ru NNTP-Posting-Host: arab.isp.nsc.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hello! I wonder if there is a way to force function call regardless of optimization level on a per function basis. I.e I want some function (or class member func) to be never expended inline, but produce push parm/call func sequence Something like this : int __noinline__ f() { return 1; }; Can I do it and if "yes" - HOW ? Note : I want it to be on a PER FUNCTION BASIS, nothing like -no-default-inline switch. Is it possible? -- Sincerely yours, Ilya ----------------------------------------------------------------------------- mailto://ilya AT spy DOT isp DOT nsc DOT ru http://spy.isp.nsc.ru