From 26a13c2bb853bd454db52ae9ffa99cc18c01d367 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 28 Feb 2000 21:46:44 +0000 Subject: [PATCH] * xcoffout.c (xcoffout_begin_function): Fix typo in previous change. From-SVN: r32243 --- gcc/ChangeLog | 4 ++++ gcc/xcoffout.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3070518819e..63afeef13120 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-02-28 Mark Mitchell + + * xcoffout.c (xcoffout_begin_function): Fix typo in previous change. + 2000-02-28 Zack Weinberg * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE. diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index 2857af4f492a..695beb6cec8c 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)); -- 2.47.2