RE: Can the "ATTRIBUTE_UNUSED" macro be removed if the paramter has being used in fact

2020-09-24 Thread Hu, Jiangping
Hi, Richard > "Hu, Jiangping" writes: > > Hi, > > > > I find there are many "ATTRIBUTE_UNUSED" macros in the function > parameter lists, > > but some of the parameters are used in the function bodies in fact. E.g. > > > >

Can the "ATTRIBUTE_UNUSED" macro be removed if the paramter has being used in fact

2020-09-23 Thread Hu, Jiangping
Hi, I find there are many "ATTRIBUTE_UNUSED" macros in the function parameter lists, but some of the parameters are used in the function bodies in fact. E.g. @@gcc/final.c void output_operand (rtx x, int code ATTRIBUTE_UNUSED) { if (x && GET_CODE (x) == SUBREG) x = alter_subre