From e2bef702d6db5181253b7edd7f9ca9c88abedd00 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 2 Sep 1999 10:29:25 -0700 Subject: 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 --- gcc/genrecog.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gcc/genrecog.c') 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); -- cgit v1.1