diff options
author | Richard Henderson <rth@gcc.gnu.org> | 1999-09-02 10:29:25 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-02 10:29:25 -0700 |
commit | e2bef702d6db5181253b7edd7f9ca9c88abedd00 (patch) | |
tree | 983023b55501936201b52db239d4a15278e92b74 /gcc/genrecog.c | |
parent | ec4f972f6cd8c1801cb78b2e81c52529e70d39a5 (diff) | |
download | gcc-e2bef702d6db5181253b7edd7f9ca9c88abedd00.zip gcc-e2bef702d6db5181253b7edd7f9ca9c88abedd00.tar.gz gcc-e2bef702d6db5181253b7edd7f9ca9c88abedd00.tar.bz2 |
dwarf2out.c (dwarf2out_line): Constify `lastfile'.
* dwarf2out.c (dwarf2out_line): Constify `lastfile'.
* except.c (expand_rethrow): Remove unused variable.
* expr.c (do_jump_by_parts_greater_rtx): Likewise.
* flow.c (replace_insns): Likewise.
(create_edge_list, verify_edge_list): Likewise.
* gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
* genemit.c (gen_expand): Only emit `operands[N]' decl if there
is special code to run.
(main): Don't define operands to emit_operand.
* genrecog.c (main): Don't emit an empty peephole2_insn function.
* rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
* alpha/alpha.h (normal_memory_operand): Declare.
(reg_no_subreg_operand): Declare.
* alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r29061
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r-- | gcc/genrecog.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c index a2eef46..804cffc 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -1979,9 +1979,12 @@ from the machine description file `md'. */\n\n"); break_out_subroutines (split_tree, SPLIT, 1); write_subroutine (split_tree.first, SPLIT); - next_subroutine_number = 0; - break_out_subroutines (peephole2_tree, PEEPHOLE2, 1); - write_subroutine (peephole2_tree.first, PEEPHOLE2); + if (peephole2_tree.first) + { + next_subroutine_number = 0; + break_out_subroutines (peephole2_tree, PEEPHOLE2, 1); + write_subroutine (peephole2_tree.first, PEEPHOLE2); + } fflush (stdout); exit (ferror (stdout) != 0 ? FATAL_EXIT_CODE : SUCCESS_EXIT_CODE); |