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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Mar 2014 08:11:52 +0000
- Subject: [Bug c/37743] Bogus printf format warning with __builtin_bswap32.
- Auto-submitted: auto-generated
- References: <bug-37743-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37743
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 6 08:11:20 2014
New Revision: 208371
URL: http://gcc.gnu.org/viewcvs?rev=208371&root=gcc&view=rev
Log:
Backport from mainline
2014-02-19 Jakub Jelinek <jakub@redhat.com>
PR c/37743
* c-common.c (c_common_nodes_and_builtins): When initializing
c_uint{16,32,64}_type_node, also set corresponding
uint{16,32,64}_type_node to the same value.
* g++.dg/ext/builtin-bswap1.C: New test.
* c-c++-common/pr37743.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr37743.c
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/ext/builtin-bswap1.C
Modified:
branches/gcc-4_8-branch/gcc/c-family/ChangeLog
branches/gcc-4_8-branch/gcc/c-family/c-common.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog