From 002d6ea7147bc9113707cc4b421d0b6d494b81f2 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 10 Mar 2005 15:36:42 +0000 Subject: [PATCH] value-prof.c (rtl_find_values_to_profile): Use gcc_assert and gcc_unreachable. * value-prof.c (rtl_find_values_to_profile): Use gcc_assert and gcc_unreachable. (rtl_register_value_prof_hooks, tree_value_profile_transformations, tree_register_value_prof_hooks): Likewise. * var-tracking.c (stack_adjust_offset_pre_post, variable_htab_free, variable_union, dataflow_set_different_2, count_uses, variable_was_changed, set_frame_base_location, set_variable_part, emit_note_insn_var_location, vt_emit_notes, vt_add_function_parameters): Likewise. * varasm.c (named_section_real, named_section, make_decl_rtl, asm_emit_uninitialised, assemble_integer, decode_addr_const, const_hash_1, compare_constant, copy_constant, force_const_mem, output_constant_pool_2, output_constant_pool_1, output_constant, output_constructor, make_decl_one_only, decl_tls_model, default_no_named_section, default_elf_select_section_1, default_unique_section_1): Likewise. * vec.c (vec_gc_o_reserve, vec_heap_o_reserve): Likewise. * vmsdbgout.c (addr_const_to_string): Likewise. From-SVN: r96242 --- gcc/vmsdbgout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c index ae19b937034..3074f8dec46 100644 --- a/gcc/vmsdbgout.c +++ b/gcc/vmsdbgout.c @@ -432,10 +432,8 @@ addr_const_to_string (char *str, rtx x) switch (GET_CODE (x)) { case PC: - if (flag_pic) - strcat (str, ","); - else - abort (); + gcc_assert (flag_pic); + strcat (str, ","); break; case SYMBOL_REF: -- 2.30.2