This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]