Re: Deferencing type-punned pointers, and how to stop gcc giving youa warning
- From: Christopher Smith <x xman org>
- To: Chris Sherlock <csherlock optusnet com au>
- Cc: Morten Welinder <terra gnome org>, gtk-devel-list gnome org
- Subject: Re: Deferencing type-punned pointers, and how to stop gcc giving youa warning
- Date: Tue, 27 Apr 2004 11:06:56 -0700
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]