[RFC][AArch64] function prologue analyzer in linux kernel

Eric Botcazou ebotcazou@adacore.com
Tue Jan 12 08:18:00 GMT 2016


> -fstack-usage does not work when there are VLAs or alloca's.  So there
> is no way to figure that part out without analysis of the actual
> assembly code.

No, -fstack-usage always works, i.e. its output can always be relied upon;
when it cannot compute the maximum stack usage, it prints "unbounded".

-- 
Eric Botcazou



More information about the Gcc mailing list