Re: [PATCH] Fix code_helper unused argument warning for fr30

2023-08-17 Thread Richard Biener via Gcc-patches
On Thu, Aug 17, 2023 at 9:21 AM Jan-Benedict Glaw wrote: > > Hi! > > fr30 is the only target defining GO_IF_LEGITIMATE_ADDRESS right now, in > which case the `code_helper ch` argument to memory_address_addr_space_p() > is unused and emits a new warning. OK. > gcc/ChangeLog: > * recog.cc

[PATCH] Fix code_helper unused argument warning for fr30

2023-08-17 Thread Jan-Benedict Glaw
Hi! fr30 is the only target defining GO_IF_LEGITIMATE_ADDRESS right now, in which case the `code_helper ch` argument to memory_address_addr_space_p() is unused and emits a new warning. gcc/ChangeLog: * recog.cc (memory_address_addr_space_p): Mark possibly unused argument as unused