This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Aliasing error in man page?
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 10 Jan 2007 08:14:43 -0800
- Subject: Re: Aliasing error in man page?
- References: <17829.3142.426962.258587@zebedee.pink>
Andrew Haley <aph@redhat.com> writes:
> -----------------------------------------------------------------------
> *(void **) (&cosine) = dlsym(handle, "cos");
> -----------------------------------------------------------------------
> That is a strict-aliasing error, is it?
Yes, and a seemingly pointless one at that.
Ian