Commit 68d15e8c by Dominique d'Humieres Committed by David Edelsohn

re PR bootstrap/65910 (r222473 breaks x86_64 darwin bootstrap)

2015-04-28  Dominique d'Humieres  <dominiq@lps.ens.fr>

        PR bootstrap/65910
        * varasm.c (assemble_end_function): Guard ASM_DECLARE_FUNCTION_SIZE.

From-SVN: r222535
parent 0a594625
2015-04-28 Dominique d'Humieres <dominiq@lps.ens.fr>
PR bootstrap/65910
* varasm.c (assemble_end_function): Guard ASM_DECLARE_FUNCTION_SIZE.
2015-04-28 Jason Merrill <jason@redhat.com>
PR c++/65734
......
......@@ -1864,10 +1864,12 @@ assemble_end_function (tree decl, const char *fnname ATTRIBUTE_UNUSED)
save_text_section = in_section;
switch_to_section (unlikely_text_section ());
#ifdef ASM_DECLARE_FUNCTION_SIZE
if (cold_function_name != NULL_TREE)
ASM_DECLARE_FUNCTION_SIZE (asm_out_file,
IDENTIFIER_POINTER (cold_function_name),
decl);
#endif
ASM_OUTPUT_LABEL (asm_out_file, crtl->subsections.cold_section_end_label);
if (first_function_block_is_cold)
switch_to_section (text_section);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment