]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling...
authorJeffrey A Law <law@cygnus.com>
Thu, 10 Sep 1998 00:40:19 +0000 (00:40 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 10 Sep 1998 00:40:19 +0000 (18:40 -0600)
        * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
        before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.

From-SVN: r22374

gcc/ChangeLog
gcc/toplev.c

index 007a142edd42aa44b007b9b5efa0a18e5a37d754..8f86a90b5cfd72b098268a49cbec08b55e788132 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 10 01:38:05 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
+       before calling reg_to_stack.
+
 Thu Sep 10 00:03:34 1998  Richard Henderson  <rth@cygnus.com>
 
        * alpha.c (alphaev5_insn_pipe): Abort on default case.
index 8696b77834d74a392a7b9900273f9c67e1a3b20a..c3a56b2d5485413b451dc5c3a2c92d87c6616a0d 100644 (file)
@@ -3824,6 +3824,9 @@ rest_of_compilation (decl)
           });
 
 #ifdef STACK_REGS
+  if (stack_reg_dump)
+    open_dump_file (".stack", decl_printable_name (decl, 2));
+
   TIMEVAR (stack_reg_time, reg_to_stack (insns, rtl_dump_file));
 
   if (stack_reg_dump)