summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-06 15:38:13 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-06 15:38:13 +0000
commitfdc47e9a060307a02e6877cd5971ebe676043350 (patch)
treeda17d9cb81391d461da68e122f1d5dcf239c7f88 /gcc/stor-layout.c
parent6e02e92004f8a9de26f7e955cb29ee5b700302aa (diff)
downloadgcc-fdc47e9a060307a02e6877cd5971ebe676043350.tar.gz
* stor-layout.c (self_referential_size): Set UNKNOWN_LOCATION on the
newly built CALL_EXPR. * tree-profile.c (tree_profiling): Return 0 for built-in stuff. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index ef9ec596d74..d38a375224a 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -342,7 +342,7 @@ self_referential_size (tree size)
VEC_safe_push (tree, gc, size_functions, fndecl);
/* Replace the original expression with a call to the size function. */
- return build_function_call_expr (input_location, fndecl, arg_list);
+ return build_function_call_expr (UNKNOWN_LOCATION, fndecl, arg_list);
}
/* Take, queue and compile all the size functions. It is essential that