-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
Description
Previous ID | SR-14919 |
Radar | None |
Original Reporter | @typesanitizer |
Type | Improvement |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Improvement |
Assignee | None |
Priority | Medium |
md5: c9da0b2f8b2a2fa89fee15be912edb8b
Issue Description:
David Smith was confused at some benchmarks he was working on, and then realized an issue was that he had an always inline function which was recursive, so it didn't get inlined at all. This seems like a programmer error – it's quite likely to be unintentional. I think we should warn if you have a recursive function (or more generally, a function in a SCC) which is marked always inline.