Re: Deferencing type-punned pointers, and how to stop gcc giving youa warning



On Tue, 2004-04-27 at 02:29, Chris Sherlock wrote:
> Here's another thing I'd like to know: why did C99 even come up with 
> strict aliasing? was it to improve performance?

Yes, it was to improve performance. Strict aliasing was considered to be
one of the key areas where Fortran had an advantage on C in terms of
performance.

-- 
Christopher Smith <x xman org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]