2009-03-03 Richard Guenther <rguenther@suse.de>
commitb430e8d98964bc1866199ac6eb5faecdbd963be1
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Mar 2009 13:05:53 +0000 (3 13:05 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Mar 2009 13:05:53 +0000 (3 13:05 +0000)
treeadb9abf659e3d9d8949be2fad8b9306ded1d415d
parentbc79a76b630400ddbd6dd00aab74914e58349eb3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144573 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/expr.c
gcc/tree.c
gcc/tree.h