Commit ceb76ffc by Marek Polacek Committed by Marek Polacek

* config/sh/sh.c (sh2a_function_vector_p): Use get_attribute_name.

From-SVN: r272514
parent 7ca50393
2019-06-20 Marek Polacek <polacek@redhat.com>
* config/sh/sh.c (sh2a_function_vector_p): Use get_attribute_name.
2019-06-20 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.md (isa attribute): Add support for
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment