This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix bootstrap failure on i686-pc-linux-gnu


Hi Caroline,

>          * dwarf2out.c (dwarf2out_switch_text_section): Check 
> current_function_decl
>          and DECL_STRUCT_FUNCTION (current_function_decl) to make sure 
> they
>          exist before trying to use them to access cold text section 
> name.
>          (output_line_info): Likewise.
>          (add_location_or_const_value_attribute): Likewise.
>          (dwarf2out_var_location): Likewise.
>          * varasm.c (initialize_cold_section_name): Likewise.
>          (unlikely_text_section): Likewise.
>          (in_unlikely_text_section): Likewise.
>          (named_section): Test for cfun before trying to dereference it.
>          (default_section_type_flags_1): Likewise.

Thanks.  Unfortunately, you may have to regenerate your patch since
Geoff seems to have fixed a part of the problem in dwarf2out.c, and
the patch does not cleanly apply.

Kazu Hirata


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]