aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-02-28 21:46:44 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-02-28 21:46:44 +0000
commit26a13c2bb853bd454db52ae9ffa99cc18c01d367 (patch)
tree1c0ac2096a78ebe3090a1c7061e1ea6c730dd758 /gcc
parent475f26dde6fe68a6a989a4b14a45a23dc13bebcd (diff)
downloadgcc-26a13c2bb853bd454db52ae9ffa99cc18c01d367.zip
gcc-26a13c2bb853bd454db52ae9ffa99cc18c01d367.tar.gz
gcc-26a13c2bb853bd454db52ae9ffa99cc18c01d367.tar.bz2
* xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
From-SVN: r32243
Diffstat (limited to 'gcc')
-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));