static inline function body is missing

Jim Wilson wilson@specifix.com
Mon Feb 27 23:14:00 GMT 2006


Nemanja Popov wrote:
> dlx-elf-gcc -S foo.c -funit-at-a-time

Mike's suggestions are good in general, but there is another thing you 
should be looking at.  Since you are explicitly asking for 
-funit-at-a-time, I would suggest looking in cgraph.  cgraph has code to 
optimize away unused static functions.  You may be confusing cgraph 
somehow.  Take a look at cgraph_mark_needed_node and 
decide_is_function_needed.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com



More information about the Gcc mailing list