[llvm-commits][llvm-gcc-4.2] r49171 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-types.cpp

Duncan Sands baldrick at free.fr
Fri Apr 11 09:11:25 PDT 2008


> >>>> I think a point I made earlier has gotten lost:  it is not possible
> >>>> to
> >>>> handle this without changing the linker.
> >>>
> >>> I've created PR2205 for this.
> >>
> >> What about the case when system linker (e.g. gnu ld or darwin ld on
> >> Mac OS X) ?
> >
> > Do you mean when doing LTO?
> 
> No.
> 
> I mean, when two separate source files with conflicting (or rather not  
> matching) declarations are compiled into the native .o files and  
> linked  together using system linker.

It should be fine - these attributes have no impact on what turns up
in the .o as far as I can see (not talking about the code for a function
definition, which is influenced by the attributes the optimizers see).

Ciao,

Duncan.



More information about the llvm-commits mailing list