gcc - using inline with -fPIC
Maya Bar
maya@verisity.com
Wed Nov 20 09:22:00 GMT 2002
Hello,
I've observed (using a profiler) that -fPIC suppress the -finline-functions that is set by -O3.
This behaviour occurs in gcc3.1 and 3.2 as well as in 2.96.
This has a significant impact on performance (15-25%). Is there a way to enforce functions
inline with -fPIC ?
Best regards,
Maya
--
--
Maya Bar, Verisity Ltd.
8 Hamelacha St., Rosh Ha'ayin 48091, Israel
Tel: +972(3) 900-4034 Fax: +972(3) 900-4001
Cel: +972(53) 420-834
More information about the Gcc
mailing list