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
This commit is contained in:
H.J. Lu 2009-07-17 01:03:55 +00:00 committed by H.J. Lu
parent 184d85bdfa
commit 3ac337c3f5
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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>

View File

@ -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));