diff options
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 5933dd2..6ee85f2 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -2317,14 +2317,14 @@ gimplify_call_expr (tree *expr_p, gimple_seq *pre_p, bool want_value) } case BUILT_IN_LINE: { - expanded_location loc = expand_location (EXPR_LOCATION (*expr_p)); - *expr_p = build_int_cst (TREE_TYPE (*expr_p), loc.line); + *expr_p = build_int_cst (TREE_TYPE (*expr_p), + LOCATION_LINE (EXPR_LOCATION (*expr_p))); return GS_OK; } case BUILT_IN_FILE: { - expanded_location loc = expand_location (EXPR_LOCATION (*expr_p)); - *expr_p = build_string_literal (strlen (loc.file) + 1, loc.file); + const char *locfile = LOCATION_FILE (EXPR_LOCATION (*expr_p)); + *expr_p = build_string_literal (strlen (locfile) + 1, locfile); return GS_OK; } case BUILT_IN_FUNCTION: |