aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-04-05 14:34:28 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-04-05 14:34:28 +0000
commitc5911a55ec63f545d6cc0a27d3be08b1992bca6c (patch)
treed59575b30811e75d6006d6597944a2dcf35830cb /gcc
parenta4437d18b92884c401e0a21ffdef0b8398201b4b (diff)
downloadgcc-c5911a55ec63f545d6cc0a27d3be08b1992bca6c.zip
gcc-c5911a55ec63f545d6cc0a27d3be08b1992bca6c.tar.gz
gcc-c5911a55ec63f545d6cc0a27d3be08b1992bca6c.tar.bz2
* stor-layout.c (self_referential_size): Fix 2010-07-13 commit.
From-SVN: r171988
Diffstat (limited to 'gcc')
-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