X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fdwarf2out.c;h=0aaf70e7431a7a3a062f41c2d7cb3e8939558f3a;hb=2040a4ca2673caec7bbd253f2c348ab2e903becf;hp=2b0de938f5021c309ac471efc707e7b551eb706d;hpb=bb37fa64f4cde3c3107b8595d8d21d0855d64b78;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 2b0de938f50..0aaf70e7431 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2030,7 +2030,7 @@ switch_to_eh_frame_section (void) /* We have no special eh_frame section. Put the information in the data section and emit special labels to guide collect2. */ switch_to_section (data_section); - label = get_file_function_name ('F'); + label = get_file_function_name ("F"); ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE)); targetm.asm_out.globalize_label (asm_out_file, IDENTIFIER_POINTER (label)); @@ -7669,7 +7669,7 @@ file_name_acquire (void ** slot, void *data) f = strrchr (f, DIR_SEPARATOR); #if defined (DIR_SEPARATOR_2) { - char *g = strrchr (files[i].path, DIR_SEPARATOR_2); + char *g = strrchr (fi->path, DIR_SEPARATOR_2); if (g != NULL) { @@ -14045,35 +14045,36 @@ prune_unused_types_walk (dw_die_ref die) if (die->die_mark) return; - switch (die->die_tag) { - case DW_TAG_const_type: - case DW_TAG_packed_type: - case DW_TAG_pointer_type: - case DW_TAG_reference_type: - case DW_TAG_volatile_type: - case DW_TAG_typedef: - case DW_TAG_array_type: - case DW_TAG_structure_type: - case DW_TAG_union_type: - case DW_TAG_class_type: - case DW_TAG_friend: - case DW_TAG_variant_part: - case DW_TAG_enumeration_type: - case DW_TAG_subroutine_type: - case DW_TAG_string_type: - case DW_TAG_set_type: - case DW_TAG_subrange_type: - case DW_TAG_ptr_to_member_type: - case DW_TAG_file_type: - if (die->die_perennial_p) - break; + switch (die->die_tag) + { + case DW_TAG_const_type: + case DW_TAG_packed_type: + case DW_TAG_pointer_type: + case DW_TAG_reference_type: + case DW_TAG_volatile_type: + case DW_TAG_typedef: + case DW_TAG_array_type: + case DW_TAG_structure_type: + case DW_TAG_union_type: + case DW_TAG_class_type: + case DW_TAG_friend: + case DW_TAG_variant_part: + case DW_TAG_enumeration_type: + case DW_TAG_subroutine_type: + case DW_TAG_string_type: + case DW_TAG_set_type: + case DW_TAG_subrange_type: + case DW_TAG_ptr_to_member_type: + case DW_TAG_file_type: + if (die->die_perennial_p) + break; - /* It's a type node --- don't mark it. */ - return; + /* It's a type node --- don't mark it. */ + return; - default: - /* Mark everything else. */ - break; + default: + /* Mark everything else. */ + break; } die->die_mark = 1;