summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-30 17:21:55 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-30 17:21:55 +0000
commit55c10931ab9e4dea668b753f79d8105fbac71f40 (patch)
tree2a4e745e479b5718418f62438522a460b4b2f37c /gcc/builtins.c
parent0bfd146ec9e6d100b38e18f073290cdfe6826cea (diff)
downloadgcc-55c10931ab9e4dea668b753f79d8105fbac71f40.tar.gz
2008-04-30 Rafael Espindola <espindola@google.com>
* builtins.c (fold_call_expr): Return realret. * tree-ssa-threadedge.c (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to __builtin_object_size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 321032dace0..2cb8fa03f9e 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -10553,6 +10553,7 @@ fold_call_expr (tree exp, bool ignore)
if (CAN_HAVE_LOCATION_P (realret)
&& !EXPR_HAS_LOCATION (realret))
SET_EXPR_LOCATION (realret, EXPR_LOCATION (exp));
+ return realret;
}
return ret;
}