How inlined are inlined functions?
Joe Buck
jbuck@synopsys.COM
Fri Dec 3 12:13:00 GMT 1999
> >>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
>
> Alexandre> break? Shouldn't such functions only be inlined when
> Alexandre> they're explicitly declared inline?
>
> The new code only inlines functions that are marked `inline'. It
> could be extended to what -O3 does now, but in that case, we would
> have to be careful about some of these things.
You are more of an expert on the standard than I am, but it seems that
the issue of trashing of automatic variables shouldn't be ignored even
if the keyword "inline" appears.
More information about the Gcc
mailing list