This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Yet another aliasing question.
- From: Andrew Haley <aph at redhat dot com>
- To: Sergei Organov <osv at javad dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 23 Dec 2006 11:32:22 +0000
- Subject: Re: Yet another aliasing question.
- References: <emj0s8$1s5$1@sea.gmane.org>
Sergei Organov writes:
> I'm trying to understand the implications of strict aliasing rules on
> programming practices. I've got two example functions foo() and boo()
> that I think both are valid from the POV of strict aliasing
> rules.
It's hard to discuss this without looking at the standard. Can you
please quote the exact language in the standard thta justfies your
opinion?
Andrew.