From 25ba75837f320079fb9d4f4d3cf426046e9e1995 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Thu, 10 Sep 1998 00:40:19 +0000 Subject: [PATCH] toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack. * 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 | 5 +++++ gcc/toplev.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 007a142edd4..8f86a90b5cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * alpha.c (alphaev5_insn_pipe): Abort on default case. diff --git a/gcc/toplev.c b/gcc/toplev.c index 8696b77834d..c3a56b2d548 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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)