From 04700344b856f67960ab8a529de29cd91034c1d5 Mon Sep 17 00:00:00 2001 From: hjl Date: Fri, 17 Jul 2009 01:03:55 +0000 Subject: 2009-07-16 H.J. Lu PR bootstrap/40781 * builtins.c (expand_builtin_memcmp): Use loc instead of EXPR_LOCATION (exp). (expand_builtin_strncmp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149733 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/builtins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/builtins.c') diff --git a/gcc/builtins.c b/gcc/builtins.c index 5a474cd0eaa..57c0c1bce59 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -4175,7 +4175,7 @@ expand_builtin_memcmp (tree exp, rtx target, enum machine_mode mode) return NULL_RTX; else { - tree result = fold_builtin_memcmp (EXPR_LOCATION (exp), + tree result = fold_builtin_memcmp (loc, CALL_EXPR_ARG (exp, 0), CALL_EXPR_ARG (exp, 1), CALL_EXPR_ARG (exp, 2)); @@ -4440,7 +4440,7 @@ expand_builtin_strncmp (tree exp, rtx target, enum machine_mode mode) return NULL_RTX; else { - tree result = fold_builtin_strncmp (EXPR_LOCATION (exp), + tree result = fold_builtin_strncmp (loc, CALL_EXPR_ARG (exp, 0), CALL_EXPR_ARG (exp, 1), CALL_EXPR_ARG (exp, 2)); -- cgit v1.2.1