[Bug c/37743] Bogus printf format warning with __builtin_bswap32.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 6 21:57:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list