This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37743] Bogus printf format warning with __builtin_bswap32.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2008 21:56:25 -0000
- Subject: [Bug c/37743] Bogus printf format warning with __builtin_bswap32.
- References: <bug-37743-2018@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-06 21:56 -------
DEF_FUNCTION_TYPE_1 (BT_FN_UINT32_UINT32, BT_UINT32, BT_UINT32)
DEF_PRIMITIVE_TYPE (BT_UINT32, uint32_type_node)
Instead of using:
DEF_PRIMITIVE_TYPE (BT_UINT, unsigned_type_node)
But we need to use the 32bit type here instead of unsigned_type really ....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37743