diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3070518819..63afeef1312 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 2857af4f492..695beb6cec8 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));