]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix code_helper unused argument warning for fr30
authorJan-Benedict Glaw <jbglaw@lug-owl.de>
Thu, 17 Aug 2023 13:54:30 +0000 (15:54 +0200)
committerJan-Benedict Glaw <jbglaw@lug-owl.de>
Thu, 17 Aug 2023 13:55:27 +0000 (15:55 +0200)
commitee40bdbfb07c604a126069f05c1358c3d76f7812
tree6ae9bc36b4772aae75f6a512cdd8336a58f5703d
parent1aaf3a64e92ada283f6d3052151858df2ad99e77
Fix code_helper unused argument warning for fr30

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.
gcc/recog.cc