Re: Current git fails to compile

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dhaval Giani <dhaval@...>
Cc: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, lkml <linux-kernel@...>, H. Peter Anvin <hpa@...>
Date: Friday, July 18, 2008 - 10:33 am

Dhaval Giani wrote:

Well, there's nothing particularly special in that code.  The only 
slightly complex requirement on the compiler is that it notice that a 
0-iteration for loop is a do-nothing, and that it eliminate the code.  
And that's not really a requirement, it's just nice to have.

The fact that your compiler is warning about an unused variable in an 
unused function suggests that it isn't doing this (I'm assuming your 
config has CONFIG_X86_PAE=n).  But there are no inline asms or other 
things which traditionally cause compilers to fall over.

So, I'm not really sure what to do about this.  Any chance of using a 
newer compiler?

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Current git fails to compile, Dhaval Giani, (Fri Jul 18, 3:53 am)
Re: Current git fails to compile, Ingo Molnar, (Fri Jul 18, 5:14 am)
Re: Current git fails to compile, Dhaval Giani, (Fri Jul 18, 9:41 am)
Re: Current git fails to compile, Jeremy Fitzhardinge, (Fri Jul 18, 10:33 am)