aboutsummaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
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/xcoffout.c
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/xcoffout.c')
-rw-r--r--gcc/xcoffout.c2
1 files changed, 1 insertions, 1 deletions
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));