Hi, This patch makes maybe_cast_to_ptrmode function in asan.c as static because the function is not called outside of the file. Is it okay for trunk?
Honggyu 2015-03-30 Honggyu Kim <hong.gyu....@lge.com> * asan.c (maybe_cast_to_ptrmode): Make static. --- gcc/asan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/asan.c b/gcc/asan.c index 9e4a629..c9c8773 100644 --- a/gcc/asan.c +++ b/gcc/asan.c @@ -1650,7 +1650,7 @@ maybe_create_ssa_name (location_t loc, tree base, gimple_stmt_iterator *iter, /* LEN can already have necessary size and precision; in that case, do not create a new variable. */ -tree +static tree maybe_cast_to_ptrmode (location_t loc, tree len, gimple_stmt_iterator *iter, bool before_p) { -- 1.7.9.5