Skip to content

Consider inlining functions if the binary is smaller or the same size afterwards #87

Open
@dylanmckay

Description

@dylanmckay

Posted by @ameisen in the avr-rust Gitter:

Something that avr-llvm should probably do automatically, but I have to use -finline-limit=10000000 for in gcc it should always inline a function if the binary is smaller or the same size afterwards.

there's no cache effects or such to worry about gcc is not smart enough to do it, I've noticed. -finline-limit=10000000 gives me smaller binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions