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:
parent
184d85bdfa
commit
3ac337c3f5
|
@ -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>
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue