https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96938
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- With "char tmp" instead of "int tmp", we get the same code as the first function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96938
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- With "char tmp" instead of "int tmp", we get the same code as the first function.