Decoupling -O from -fvia-C

Simon Marlow simonmarhaskell at gmail.com
Fri Dec 1 11:47:27 EST 2006


Bulat Ziganshin wrote:
> Hello Wolfgang,
> 
> Friday, December 1, 2006, 4:34:44 PM, you wrote:
> 
> 
>>>may be it's better to start with speed tests?
> 
> 
>>What would that achieve, given that the decision does not depend on  
>>speed measurements? The argument "implicit -fvia-C makes things  
>>refuse to work" is stronger than the argument "-fvia-C makes things x 
>>% faster on platform Y, so it should be on by default", for all  
>>values of x and y.
> 
> 
> mingw32 platform shouldn't be affected by problems specific to macs.
> while via-C is faster here, it should be used. you can change mac's
> compilation settings independently

You won't notice any performance difference using the NCG, I bet.  Except that 
compilations times will be 50% faster...

Cheers,
	Simon



More information about the Cvs-ghc mailing list