Eric Botcazou <ebotca...@adacore.com> writes: > Hi, > > for EH cleanups, the branch probability heuristics can consider that edges > are > never taken, i.e. their profile count is set to zero. In this case, no > matter > how you tweak the inlining parameters, you cannot get function calls inlined, > but -Winline nevertheless prints the standard message about unlikely calls as > in the cases when tweaking the inlining parameters can work. > > Therefore the attached patch adds a new CIF code with the warning message: > > "call is never executed and code size would grow [-Winline]"
That seems misleading, unless the exception is really never thrown. Maybe s/never/rarely/ -Andi