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 tree-optimization/39272] [4.4 Regression] -D_FORTIFY_SOURCE=2 no longer warns with new glibc headers



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-03-03 13:06 -------
Subject: Bug 39272

Author: rguenth
Date: Tue Mar  3 13:05:53 2009
New Revision: 144573

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144573
Log:
2009-03-03  Richard Guenther  <rguenther@suse.de>

        PR middle-end/39272
        * tree.c (tree_nonartificial_location): New function.
        * tree.h (tree_nonartificial_location): Declare.
        * builtins.c (expand_builtin_memory_chk): Provide location
        of the call location for artificial function pieces.
        (maybe_emit_chk_warning): Likewise.
        (maybe_emit_sprintf_chk_warning): Likewise.
        (maybe_emit_free_warning): Likewise.
        * expr.c (expand_expr_real_1): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/expr.c
    trunk/gcc/tree.c
    trunk/gcc/tree.h


-- 


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


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