diff options
Diffstat (limited to 'gcc/config/sh/sh.c')
-rw-r--r-- | gcc/config/sh/sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 8dc017c3fd4..ce4ee857a89 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -7065,7 +7065,7 @@ sh_insert_attributes (tree node, tree *attributes) return; /* We are only interested in fields. */ - if (TREE_CODE_CLASS (TREE_CODE (node)) != 'd') + if (!DECL_P (node)) return; /* Add a 'handle_interrupt' attribute. */ |