* stor-layout.c (self_referential_size): Fix 2010-07-13 commit.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 5 Apr 2011 14:34:28 +0000 (14:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 5 Apr 2011 14:34:28 +0000 (14:34 +0000)
From-SVN: r171988

gcc/ChangeLog
gcc/stor-layout.c

index a0fea0d..ae9f9d0 100644 (file)
@@ -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.
index ed36c5b..a225dbf 100644 (file)
@@ -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