https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357
--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> --- Isn't this the same issue as seen in another bug, most targets defining TARGET_PROMOTE_PROTOTYPES to hook_bool_const_tree_true but loongarch not? That will cause those conversions to be missed.