+2009-01-09 Nick Clifton <nickc@redhat.com>
+
+ * config/sh/symbian.c: Replace uses of DECL_INLINE with
+ DECL_DECLARED_INLINE_P.
+
2009-01-09 Jakub Jelinek <jakub@redhat.com>
PR middle-end/38347
earlier declaration. */
if (TREE_CODE (decl) == FUNCTION_DECL
&& DECL_INITIAL (decl)
- && !DECL_INLINE (decl))
+ && ! DECL_DECLARED_INLINE_P (decl))
{
/* Don't warn about artificial methods. */
if (!DECL_ARTIFICIAL (decl))
/* We ignore the dllimport attribute for inline member functions.
This differs from MSVC behavior which treats it like GNUC
'extern inline' extension. */
- else if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INLINE (decl))
+ else if (TREE_CODE (decl) == FUNCTION_DECL && DECL_DECLARED_INLINE_P (decl))
{
if (extra_warnings)
warning (OPT_Wattributes, "inline function %q+D is declared as "
if (DECL_PURE_VIRTUAL_P (member))
continue;
- if (DECL_INLINE (member))
+ if (DECL_DECLARED_INLINE_P (member))
continue;
break;
if (DECL_CONSTRUCTOR_P (member) || DECL_DESTRUCTOR_P (member))
{
- if (DECL_INLINE (member)
+ if (DECL_DECLARED_INLINE_P (member)
/* Ignore C++ backend created inline ctors/dtors. */
&& ( DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (member)
|| DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (member)))
if (! DECL_VIRTUAL_P (member))
continue;
- if (DECL_INLINE (member))
+ if (DECL_DECLARED_INLINE_P (member))
continue;
if (lookup_attribute ("dllimport", DECL_ATTRIBUTES (member)))