From c5911a55ec63f545d6cc0a27d3be08b1992bca6c Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 5 Apr 2011 14:34:28 +0000 Subject: [PATCH] * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. From-SVN: r171988 --- gcc/ChangeLog | 4 ++++ gcc/stor-layout.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0fea0d551c..ae9f9d0d867 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-05 Eric Botcazou + + * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. + 2011-04-05 Joseph Myers * config/rx/rx-opts.h: New. diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index ed36c5b3a5a..a225dbfbd8b 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -367,7 +367,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_call_expr_loc_vec (input_location, fndecl, args); + return build_call_expr_loc_vec (UNKNOWN_LOCATION, fndecl, args); } /* Take, queue and compile all the size functions. It is essential that -- 2.30.2