Commit d0794d14 by Joern Rennecke Committed by Joern Rennecke

genpreds.c (write_predicate_subfunction): Also add ATTRIBUTE_UNUSED to OP…

genpreds.c (write_predicate_subfunction): Also add ATTRIBUTE_UNUSED to OP parmeter of generated function.

        * genpreds.c (write_predicate_subfunction): Also add ATTRIBUTE_UNUSED
        to OP parmeter of generated function.

From-SVN: r263934
parent fd8303a5
2018-08-28 Joern Rennecke <joern.rennecke@riscy-ip.com>
* genpreds.c (write_predicate_subfunction): Also add ATTRIBUTE_UNUSED
to OP parmeter of generated function.
2018-08-28 MCC CS <deswurstes@users.noreply.github.com>
PR tree-optimization/87009
......
......@@ -152,7 +152,7 @@ write_predicate_subfunction (struct pred_data *p)
p->exp = and_exp;
printf ("static inline int\n"
"%s_1 (rtx op, machine_mode mode ATTRIBUTE_UNUSED)\n",
"%s_1 (rtx op ATTRIBUTE_UNUSED, machine_mode mode ATTRIBUTE_UNUSED)\n",
p->name);
rtx_reader_ptr->print_md_ptr_loc (p->c_block);
if (p->c_block[0] == '{')
......
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