diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-09-10 00:40:19 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-09-09 18:40:19 -0600 |
commit | 25ba75837f320079fb9d4f4d3cf426046e9e1995 (patch) | |
tree | 24267bed5ab3b1d9aa1394a81e537c460433e977 /gcc | |
parent | 2c01018fc8b33c49336de71df3a9fdb9366c5059 (diff) | |
download | gcc-25ba75837f320079fb9d4f4d3cf426046e9e1995.zip gcc-25ba75837f320079fb9d4f4d3cf426046e9e1995.tar.gz gcc-25ba75837f320079fb9d4f4d3cf426046e9e1995.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 007a142..8f86a90 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 <rth@cygnus.com> * alpha.c (alphaev5_insn_pipe): Abort on default case. diff --git a/gcc/toplev.c b/gcc/toplev.c index 8696b77..c3a56b2 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) |