aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-02-18 18:54:34 +0000
committerDoug Evans <dje@gnu.org>1995-02-18 18:54:34 +0000
commitaf13b0fbb34768dbfda482e33d0a79562fe71509 (patch)
tree01d41da17aedeafb2853d2c16b739efeb7acc18e
parent4e95c4d02eae645ca3d4b9d93d77a30452d8b0d8 (diff)
downloadgcc-af13b0fbb34768dbfda482e33d0a79562fe71509.zip
gcc-af13b0fbb34768dbfda482e33d0a79562fe71509.tar.gz
gcc-af13b0fbb34768dbfda482e33d0a79562fe71509.tar.bz2
(output_constructor): Fix typo byte_size -> size.
From-SVN: r8968
-rw-r--r--gcc/varasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 42cde91..989e08f 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -3519,13 +3519,13 @@ output_constant (exp, size)
if (TREE_CODE (exp) == INTEGER_CST)
assemble_integer (expand_expr (exp, NULL_RTX,
VOIDmode, EXPAND_INITIALIZER),
- byte_size, 1);
+ size, 1);
else if (TREE_CODE (exp) == CONSTRUCTOR)
{
- unsigned char *buffer = (unsigned char *) alloca (byte_size);
- if (get_set_constructor_bytes (constructor, buffer, byte_size))
+ unsigned char *buffer = (unsigned char *) alloca (size);
+ if (get_set_constructor_bytes (exp, buffer, size))
abort ();
- assemble_string (buffer, byte_size);
+ assemble_string (buffer, size);
}
else
error ("unknown set constructor type");