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/20109] printf optimizations and non-ASCII character sets



------- Comment #5 from ghazi at gcc dot gnu dot org  2005-11-29 05:18 -------
Subject: Bug 20109

Author: ghazi
Date: Tue Nov 29 05:18:13 2005
New Revision: 107654

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107654
Log:
        PR middle-end/20109
        PR middle-end/25120
        * builtins.c (init_target_chars): New.
        (expand_builtin_printf, expand_builtin_fprintf,
        expand_builtin_sprintf, fold_builtin_sprintf): Check for matching
        format strings using the target charset.

testsuite:
        * gcc.dg/charset/builtin2.c: New test.


Added:
    branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/charset/builtin2.c
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/builtins.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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


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