* toplev.c (rest_of_compilation): If not optimizing, turn off
DECL_INLINE for functions declared as inline. Avoid turning on
DECL_INLINE when -finline-functions is used without -O.
From-SVN: r5074
TIMEVAR (integration_time,
{
lose = function_cannot_inline_p (decl);
- if (lose)
+ /* If not optimzing, then make sure the DECL_INLINE
+ bit is off. */
+ if (lose || ! optimize)
{
if (warn_inline && specd)
warning_with_decl (decl, lose);