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 07d5b3c..dfaeab5 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -8646,7 +8646,7 @@ sh2a_function_vector_p (tree func) return false; for (tree list = SH_ATTRIBUTES (func); list; list = TREE_CHAIN (list)) - if (is_attribute_p ("function_vector", TREE_PURPOSE (list))) + if (is_attribute_p ("function_vector", get_attribute_name (list))) return true; return false; |