Commit 3ac337c3 by H.J. Lu Committed by H.J. Lu

re PR bootstrap/40781 (Revision 149722 failed to bootstrap)

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/40781
	* builtins.c (expand_builtin_memcmp): Use loc instead of
	EXPR_LOCATION (exp).
	(expand_builtin_strncmp): Likewise.

From-SVN: r149733
parent 184d85bd
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/40781
* builtins.c (expand_builtin_memcmp): Use loc instead of
EXPR_LOCATION (exp).
(expand_builtin_strncmp): Likewise.
2009-07-17 Aldy Hernandez <aldyh@redhat.com>
Manuel López-Ibáñez <manu@gcc.gnu.org>
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment