]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
authorMark Mitchell <mark@codesourcery.com>
Mon, 28 Feb 2000 21:46:44 +0000 (21:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 28 Feb 2000 21:46:44 +0000 (21:46 +0000)
From-SVN: r32243

gcc/ChangeLog
gcc/xcoffout.c

index d3070518819e40ae79dfd32d7b730ed6360f0a65..63afeef131205204d3aab00883790637bf393997 100644 (file)
@@ -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.
index 2857af4f492a4df9753d22367fd2233a35547f97..695beb6cec8c3e94554162e22fcdc41220914508 100644 (file)
@@ -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));