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 middle-end/54486] [4.6/4.7/4.8 Regression] Spurious printf format warning mentions nonexistent type 'sizetype'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54486

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-05 16:28:27 UTC ---
Author: jakub
Date: Wed Sep  5 16:27:55 2012
New Revision: 190986

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190986
Log:
    PR middle-end/54486
    * builtins.c (fold_builtin_strspn, fold_builtin_strcspn): Use
    build_int_cst with size_type_node instead of size_int.

    * c-c++-common/pr54486.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr54486.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


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