This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bootstrap failure on i686-pc-linux-gnu
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: ctice at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Apr 2005 02:47:23 -0400 (EDT)
- Subject: Re: [PATCH] Fix bootstrap failure on i686-pc-linux-gnu
- References: <36002e3b2b4081253e3f0d09d21242e5@apple.com>
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