Skip to content

-fprof-late: Don't add cost centres to static data.

Andreas Klebinger requested to merge wip/andreask/late_workfree into master
-fprof-late: Don't add cost centres to static data.

We know check if a rhs is: a) workfree b) not a function.
If both are true there is no point in inserting a cc as it can be
statically allocated.

Fixes #24103

Merge request reports