diff options
author | Nick Clifton <nickc@cygnus.com> | 1998-03-03 10:06:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1998-03-03 10:06:54 +0000 |
commit | bd33435646d8f4b49c483a771e231a19e10c5ec8 (patch) | |
tree | 3189a41e226377ea8be6995ba75f2c309b96080e | |
parent | b99bb832d862b9cda1fa5b743869a092ff6fb0ed (diff) | |
download | gcc-bd33435646d8f4b49c483a771e231a19e10c5ec8.zip gcc-bd33435646d8f4b49c483a771e231a19e10c5ec8.tar.gz gcc-bd33435646d8f4b49c483a771e231a19e10c5ec8.tar.bz2 |
Do not generate a <name>.dbr file when dumping RTL unless DELAY_SLOTS is defined.
From-SVN: r18386
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b6032c..809120f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com> + + * toplev.c: Only generate <name>.dbr file when dumping RTL if + DEALY_SLOTS is defined. + Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de> * reorg.c (fill_eager_delay_slots): Add new argument delay_list diff --git a/gcc/toplev.c b/gcc/toplev.c index ba3bf51..35afed6 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -276,7 +276,9 @@ int local_reg_dump = 0; int global_reg_dump = 0; int sched2_dump = 0; int jump2_opt_dump = 0; +#ifdef DELAY_SLOTS int dbr_sched_dump = 0; +#endif int flag_print_asm_name = 0; #ifdef STACK_REGS int stack_reg_dump = 0; @@ -983,7 +985,9 @@ int sched_time; int local_alloc_time; int global_alloc_time; int sched2_time; +#ifdef DELAY_SLOTS int dbr_sched_time; +#endif int shorten_branch_time; int stack_reg_time; int final_time; @@ -2279,7 +2283,9 @@ compile_file (name) local_alloc_time = 0; global_alloc_time = 0; sched2_time = 0; +#ifdef DELAY_SLOTS dbr_sched_time = 0; +#endif shorten_branch_time = 0; stack_reg_time = 0; final_time = 0; @@ -2371,8 +2377,10 @@ compile_file (name) clean_dump_file (".sched2"); if (jump2_opt_dump) clean_dump_file (".jump2"); +#ifdef DELAY_SLOTS if (dbr_sched_dump) clean_dump_file (".dbr"); +#endif #ifdef STACK_REGS if (stack_reg_dump) clean_dump_file (".stack"); @@ -2859,7 +2867,9 @@ compile_file (name) print_time ("local-alloc", local_alloc_time); print_time ("global-alloc", global_alloc_time); print_time ("sched2", sched2_time); +#ifdef DELAY_SLOTS print_time ("dbranch", dbr_sched_time); +#endif print_time ("shorten-branch", shorten_branch_time); print_time ("stack-reg", stack_reg_time); print_time ("final", final_time); @@ -3836,7 +3846,9 @@ main (argc, argv, envp) case 'a': branch_prob_dump = 1; combine_dump = 1; +#ifdef DELAY_SLOTS dbr_sched_dump = 1; +#endif flow_dump = 1; global_reg_dump = 1; jump_opt_dump = 1; @@ -3867,9 +3879,11 @@ main (argc, argv, envp) case 'c': combine_dump = 1; break; +#ifdef DELAY_SLOTS case 'd': dbr_sched_dump = 1; break; +#endif case 'f': flow_dump = 1; break; |