[Bug bootstrap/62005] [4.10 regression] with --enable-checking=rtl : loop-unroll.c:2095:10: error: function may return address of local variable

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 4 20:12:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62005

--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #4)
> Compiling without RTL checking but with -fkeep-inline-functions
> probably warns as well then.

Uh, for some reason -fkeep-inline-functions does not preserve static functions,
but it does preserve static inline functions (so it warns if I add "inline" on
the definition of get_ivts_expr). I couldn't find a -fkeep-static-functions.



More information about the Gcc-bugs mailing list