http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55268



Kai Tietz <ktietz at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2012-11-14

                 CC|                            |ktietz at gcc dot gnu.org

     Ever Confirmed|0                           |1



--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-14 12:28:22 
UTC ---

I have the following patch which should solve this issue:



Index: i386.c

===================================================================

--- i386.c      (Revision 193485)

+++ i386.c      (Arbeitskopie)

@@ -28805,7 +28805,10 @@

   /* For function version, add the target suffix to the assembler name.  */

   if (TREE_CODE (decl) == FUNCTION_DECL

       && DECL_FUNCTION_VERSIONED (decl))

-    return ix86_mangle_function_version_assembler_name (decl, id);

+    id = ix86_mangle_function_version_assembler_name (decl, id);

+#ifdef TARGET_MANGLE_DECL_ASSEMBLER_NAME

+  id = TARGET_MANGLE_DECL_ASSEMBLER_NAME (decl, id);

+#endif



   return id;

 }

Reply via email to