aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/flow.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17f70f1..31411bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-29 Mark Mitchell <mark@codesourcery.com>
+
+ * flow.c (mark_regs_live_at_end): Fix typo.
+
2000-01-28 Ulrich Drepper <drepper@redhat.com>
* c-common.c: Adjust variable names, comments, help strings to c99.
diff --git a/gcc/flow.c b/gcc/flow.c
index 73a967b..c2aac13 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2883,7 +2883,7 @@ mark_regs_live_at_end (set)
outgoing = FUNCTION_VALUE (type, current_function_decl);
#endif
if (GET_MODE (outgoing) == BLKmode)
- PUT_MODE (outgoing, DECL_RTL (DECL_RESULT (current_function_decl)));
+ PUT_MODE (outgoing, DECL_MODE (DECL_RESULT (current_function_decl)));
if (GET_CODE (outgoing) == REG)
mark_reg (set, outgoing);