* value-prof.c (rtl_find_values_to_profile): Use gcc_assert and
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Mar 2005 15:36:42 +0000 (15:36 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Mar 2005 15:36:42 +0000 (15:36 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96242 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/vmsdbgout.c

index ae19b93..3074f8d 100644 (file)
@@ -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: