On 08.10.2014 15:58, Jonas De Craene wrote: > Hi, > > > > I have been using the SDCC compiler fora n 8051, and my goal is to > optimize code size. > > I have noticed that when declaring a function as static inline, the > function does get inlined in the resulting assembler code, > > but also the definition of that function is in there, so as a callable > function, although this is used nowhere in the assembler code listing. > > This as a result wastes precious code space. Is there a way to optimize > this function definition away? Using just inline (and not static inline) > for a function works, but then I cannot use this header file with > functions in a project with multiple c files. > > > > Thanks for your help.
See feature request #414: https://sourceforge.net/p/sdcc/feature-requests/414/ Philipp
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user