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.


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


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