This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1


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

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-14 18:20:15 UTC ---
Created attachment 23653
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23653
possible fix - shifting the special case output of objc_class_name_xxxx to the
back-end.

this solves the problem of propagating the class refs/defs through LTO
... although it reveals that we have further issues when -flto-partition=none
is used 
   (duplicate meta-data definitions - however, this latter problem is not
specific to darwin and will be posted as a different PR)

... only lightly tested on i686-darwin9.

opinions?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]