Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC 3.3 can't inline?!? (CAN)



On Sep 29, 2004, at 10:45 AM, Andrew Pinski wrote:


On Sep 29, 2004, at 10:40 AM, Marc Colosimo wrote:

I was profiling my code when I noticed that inline code was inlined. I found this <http://list-archive.xemacs.org/xemacs-beta/200305/msg00361.html>

Then I tried inlining (__inline__) something simple and it still made it a function call (see below). I'm using gcc version 3.3 20030304 (Apple Computer, Inc. build 1666). and tried -finline-functions.

GCC does not inline without turning on optimization.


D'Oh!

<http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/ Inline.html#Inline>

Last sentence, first paragraph.

Now it inlines.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden
References: 
 >GCC 3.3 can't inline?!? (From: Marc Colosimo <email@hidden>)
 >Re: GCC 3.3 can't inline?!? (From: Andrew Pinski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.