diff options
author | Marek Polacek <polacek@redhat.com> | 2019-06-20 17:12:38 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-06-20 17:12:38 +0000 |
commit | ceb76ffc6b65e8e35d6cde1148dc0ac958e4a06c (patch) | |
tree | de757618e2e234389a3804e2797ab9e8d3d8200c /gcc/config/sh | |
parent | 7ca50393b3bc1c148d865cbc32e72df22ddbc564 (diff) | |
download | gcc-ceb76ffc6b65e8e35d6cde1148dc0ac958e4a06c.zip gcc-ceb76ffc6b65e8e35d6cde1148dc0ac958e4a06c.tar.gz gcc-ceb76ffc6b65e8e35d6cde1148dc0ac958e4a06c.tar.bz2 |
* config/sh/sh.c (sh2a_function_vector_p): Use get_attribute_name.
From-SVN: r272514
Diffstat (limited to 'gcc/config/sh')
-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; |