delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/05/16:46:05

Message-ID: <35F1B0BD.707A60C7@inetlab.com>
Date: Sun, 06 Sep 1998 03:44:29 +0600
From: Ilya Ryzhenkov <orangy AT inetlab DOT com>
Organization: iNetLab
MIME-Version: 1.0
To: djgpp workers list <djgpp-workers AT delorie DOT com>
Subject: Preventing compiler from expanding inline

Hi again, I hope I don't annoy anyone ;-)

Just a simple question - is there any method to prevent
specific function from expanding inline ? I don't mean
global -f option, I think of something like function
attribute or #pragma or whatever else.
Does anybody knows how gcc decides (under normal conditions, i.e
no overrides like inline keyword or inline restrictions)
when to expand function (class member) inline ? Is it size
condition, or complexity or something else ?
I need it to prevent constructors of some classes from 
expanding inline. I need a real call instruction to them
everywhere they are used.

Thank you. 
============================
Ilya P. Ryzhenkov aka Orangy
iNetLab
e-mail : orangy AT inetlab DOT com
   ICQ : 17942172

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019