diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-14 08:12:11 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-14 08:12:11 -0500 |
commit | 542ed971f499051d370b796579891608d8001098 (patch) | |
tree | 9ea7121bfb5fbadf90dead27ee471b0bb36b857b /gcc/bc-optab.c | |
parent | 1d556704ce9087ddd019d69cee9e5e21be5eec32 (diff) | |
download | gcc-542ed971f499051d370b796579891608d8001098.zip gcc-542ed971f499051d370b796579891608d8001098.tar.gz gcc-542ed971f499051d370b796579891608d8001098.tar.bz2 |
(bc_expand_{binary,unary}_operation): Add missing args to call to
expand_expr.
From-SVN: r6782
Diffstat (limited to 'gcc/bc-optab.c')
-rw-r--r-- | gcc/bc-optab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/bc-optab.c b/gcc/bc-optab.c index cd1fc8a..b8ac57d 100644 --- a/gcc/bc-optab.c +++ b/gcc/bc-optab.c @@ -1,5 +1,5 @@ /* Bytecode conversion definitions for GNU C-compiler. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -724,9 +724,9 @@ bc_expand_binary_operation (optab, resulttype, arg0, arg1) if (besti == -1) abort (); - expand_expr (arg1); + expand_expr (arg1, 0, VOIDmode, 0); emit_typecode_conversion (arg1code, optab[besti].arg1); - expand_expr (arg0); + expand_expr (arg0, 0, VOIDmode, 0); emit_typecode_conversion (arg0code, optab[besti].arg0); bc_emit_instruction (optab[besti].opcode); emit_typecode_conversion (optab[besti].result, resultcode); @@ -761,7 +761,7 @@ bc_expand_unary_operation (optab, resulttype, arg0) if (besti == -1) abort (); - expand_expr (arg0); + expand_expr (arg0, 0, VOIDmode, 0); emit_typecode_conversion (arg0code, optab[besti].arg0); bc_emit_instruction (optab[besti].opcode); emit_typecode_conversion (optab[besti].result, resultcode); |