https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65910

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-28
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I have fixed it with the patch

--- ../_clean/gcc/varasm.c      2015-04-27 20:19:05.000000000 +0200
+++ gcc/varasm.c        2015-04-27 21:34:14.000000000 +0200
@@ -1864,10 +1864,12 @@ assemble_end_function (tree decl, const 

       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);

Reply via email to