aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stor-layout.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a0fea0d..ae9f9d0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-05 Eric Botcazou <ebotcazou@adacore.com>
+
+ * stor-layout.c (self_referential_size): Fix 2010-07-13 commit.
+
2011-04-05 Joseph Myers <joseph@codesourcery.com>
* config/rx/rx-opts.h: New.
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index ed36c5b..a225dbf 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