effect of -fPIC on code speed

Miles Bader miles@gnu.org
Fri Sep 17 06:25:00 GMT 2010

Ian Lance Taylor <iant@google.com> writes:
> The -fPIC option inhibits code inlining, which is probably why you are
> seeing smaller object files.

Hmm, that's an unexpected side-effect... maybe the gcc documentation
should mention it?


Liberty, n. One of imagination's most precious possessions.

More information about the Gcc-help mailing list