https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80006
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > On x86_64, this conversion from signed char to int is for some reason > performed even in function f, so the test program triggers no warnings. Oh yes the promotion happens because of a target hook.