This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

single function optimization possible?


Scott A Sumner writes:
 > I know that I can optimize a whole file to different degrees using -O,
 > -O1, etc., but can I optimize only certain functions in a file, leaving
 > other functions alone?  If so, how?

Nope, there's no way to do this.
This is something I've wanted when debugging GCC
so I have a hacked up copy of GCC that uses (ghast!) #pragma.
Never submitted it for inclusion though. :-)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]