[Bug c/37743] Bogus printf format warning with __builtin_bswap32.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 19 18:34:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37743
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed. That said, both testcases in this PR are inherently non-portable, on
some targets __builtin_bswap32 returns unsigned long, on most unsigned int,
could be even unsigned long long. So, one should really use uint32_t and
PRIu32.
More information about the Gcc-bugs
mailing list