diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-03-14 13:12:11 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-03-14 13:12:11 +0000 |
commit | a673d45478b46fc23d1f663b9decef5bbb78de00 (patch) | |
tree | 9ea7121bfb5fbadf90dead27ee471b0bb36b857b /gcc/bc-optab.c | |
parent | 460bc76c3612b9c5690b5f8a5637a9dd27480fa8 (diff) | |
download | gcc-a673d45478b46fc23d1f663b9decef5bbb78de00.tar.gz |
(bc_expand_{binary,unary}_operation): Add missing args to call to
expand_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6782 138bc75d-0d04-0410-961f-82ee72b054a4
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 cd1fc8ace39..b8ac57da9db 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); |