summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/c-typeck.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3d797f83d29..f0daa64e603 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org)
+ * c-typeck.c (c_expand_asm_operands): Use proper values when calling
+ expand_expr..
+
* c-lex.c (yyprint): Add prototype.
(check_newline, build_objc_string): Remove declaration.
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index f8f0705e324..ea2fea84d80 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -6862,7 +6862,7 @@ c_expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
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.
OpenPOWER on IntegriCloud