This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A small patch for c-typeck.c
- To: egcs-patches at cygnus dot com
- Subject: A small patch for c-typeck.c
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 19 Jun 1998 19:20:19 -0700 (PDT)
Here is a small patch.
--
H.J. Lu (hjl@gnu.org)
--
Fri Jun 19 18:42:05 1998 H.J. Lu (hjl@gnu.org)
* c-typeck.c (expand_expr): Use proper values when calling the
function.
Index: c-typeck.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/c-typeck.c,v
retrieving revision 1.1.1.12
diff -u -p -r1.1.1.12 c-typeck.c
--- c-typeck.c 1998/05/07 15:44:47 1.1.1.12
+++ c-typeck.c 1998/05/07 16:26:47
@@ -6862,7 +6862,7 @@ c_expand_asm_operands (string, outputs,
if (o[i] != TREE_VALUE (tail))
{
expand_expr (build_modify_expr (o[i], NOP_EXPR, TREE_VALUE (tail)),
- 0, VOIDmode, 0);
+ NULL_RTX, VOIDmode, EXPAND_NORMAL);
free_temp_slots ();
}
/* Detect modification of read-only values.