aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/xcoffout.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d307051..63afeef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-28 Mark Mitchell <mark@codesourcery.com>
+
+ * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
+
2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
* tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 2857af4..695beb6 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -507,7 +507,7 @@ xcoffout_begin_function (file, last_linenum)
in sdbout_begin_block, but there is no guarantee that there will be any
inner block 1, so we must do it here. This gives a result similar to
dbxout, so it does make some sense. */
- do_block = BLOCK_NUMBER (DECL_INITIAL (decl));
+ do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl));
xcoffout_block (DECL_INITIAL (current_function_decl), 0,
DECL_ARGUMENTS (current_function_decl));