https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78959
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Or were you saying that prior to HP-UX 11.31 printf didn't have %hhd at all and treated it as an ordinary string (or undefined behavior)? If it's the latter the test change alone would probably be sufficient.