aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-03-10 15:36:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2005-03-10 15:36:42 +0000
commit2e19986242bc1247e9e5410a61cbaee912e8455f (patch)
tree8d183181dd2044367d04a9e32ffe42eba2a4f786
parent6e434f356ec68897c80ff3b4d8394f9f1b9a3670 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96242 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/vmsdbgout.c6
1 files 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: