https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110248
--- Comment #3 from JuzheZhong <juzhe.zhong at rivai dot ai> --- You mean add a default argument = nullptr to targethook legitimate_address_p to let powerPC do more middle-end address ivopts analysis? If yes, I am ok with that. Let's see Richard and Richi more comments. Thanks.