------- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-01 17:04 ------- Here is the fix I am working for: Index: optimize.c =================================================================== --- optimize.c (revision 152380) +++ optimize.c (working copy) @@ -199,6 +199,7 @@ maybe_clone_body (tree fn) DECL_VISIBILITY (clone) = DECL_VISIBILITY (fn); DECL_VISIBILITY_SPECIFIED (clone) = DECL_VISIBILITY_SPECIFIED (fn); DECL_DLLIMPORT_P (clone) = DECL_DLLIMPORT_P (fn); + DECL_ATTRIBUTES (clone) = DECL_ATTRIBUTES (fn);
/* Adjust the parameter names and locations. */ parm = DECL_ARGUMENTS (fn); -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-10-01 17:04:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41536