[PATCH] gcc compatibility: silent -finline-limit=1234 & -finline-limit

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jul 5 13:22:17 PDT 2014


On Sat, Jul 05, 2014 at 01:07:35AM +0300, Alp Toker wrote:
> 3) Add the necessary check at that point in LLVM to disable inlining
> if the size is greater than the flag value.

The problem here is that GCC very likely uses a completely different
metric, so using the same option is just likely to give unexpected
results.

Joerg



More information about the cfe-commits mailing list