https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94995
Bug ID: 94995 Summary: gcc/config/aarch64/cortex-a57-fma-steering.c: 5 * member function could be const ? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- trunk.git/gcc/config/aarch64/cortex-a57-fma-steering.c:108:7: style:inconclusive: Technically the member function 'fma_forest::get_id' can be const. [functionConst] trunk.git/gcc/config/aarch64/cortex-a57-fma-steering.c:111:7: style:inconclusive: Technically the member function 'fma_forest::get_target_parity' can be const. [functionConst] trunk.git/gcc/config/aarch64/cortex-a57-fma-steering.c:145:8: style:inconclusive: Technically the member function 'fma_node::root_p' can be const. [functionConst] trunk.git/gcc/config/aarch64/cortex-a57-fma-steering.c:150:7: style:inconclusive: Technically the member function 'fma_node::get_parity' can be const. [functionConst] trunk.git/gcc/config/aarch64/cortex-a57-fma-steering.c:205:7: style:inconclusive: Technically the member function 'func_fma_steering::get_fpu_balance' can be const. [functionConst] I am not sure how useful these messages are, but there may be some small value in making a few member functions const.