From: Doug Evans Date: Sat, 18 Feb 1995 18:54:34 +0000 (+0000) Subject: (output_constructor): Fix typo byte_size -> size. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af13b0fbb34768dbfda482e33d0a79562fe71509;p=gcc.git (output_constructor): Fix typo byte_size -> size. From-SVN: r8968 --- diff --git a/gcc/varasm.c b/gcc/varasm.c index 42cde912aa7..989e08f85d8 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");