https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90918
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- I can see why the warning fires, but this is correct behavior. The function is used to return the bounds of the stack segments that the program is using. For the current stack segment, we have to find a bound within the current stack, so we use the address of a local variable. Is there some way to disable the warning for this function?