This is the mail archive of the gcc-patches@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]

Re: [Patch Darwin/PPC] make sure rs6000_current_abi is defined early enough.


On 12/05/2011 01:11 AM, Iain Sandoe wrote:
> in http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00312.html
> I wrote:
> 
> where is "_CALL_DARWIN" supposed to come from? (it is not defined by the preprocessor AFAICT).
> 
> ===
> 
> it seems that we don't define rs6000_current_abi before cpp builtins
> are emitted and the function uses it to decide to emit _CALL_DARWIN.
> 
> fixed as below,
> OK for trunk?
> (what opinion of 4.6?)
> 
> Iain
> 
> gcc:
> 
>     * config/rs6000/rs6000.c (darwin_rs6000_override_options): Initialize
>     rs6000_current_abi.

Ok everywhere.


r~


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