This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: inline functions not getting internal linkage in x86 without optimization
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: inline functions not getting internal linkage in x86 without optimization
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 28 Jun 1998 00:34:27 -0300
- Cc: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>, egcs%bugs at cygnus dot com
- References: <9806262245.AA30672@rios1.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
> Are explicitly declared *inline* functions no longer considered
> local to the translation unit in whatever equivalent wording now
> exists?
In C++, declaring a function as inline does not affect its linkage, so
a non-member inline function is extern unless explicitly declared as
static.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil