This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type based aliasing again - meaning of "undefined"
- To: rmorgan at jetcity dot com, gcc at gcc dot gnu dot org
- Subject: Re: type based aliasing again - meaning of "undefined"
- From: N8TM at aol dot com
- Date: Thu, 16 Sep 1999 02:15:06 EDT
In a message dated 9/15/99 4:08:42 PM EST, rmorgan@jetcity.com writes:
> Since previous versions of GCC
> apparently behaved consistently when type aliasing requirements were
> violated, why are programs that violate them considered erroneous?
Because they depend on the compiler not performing useful optimizations which
the standard specifically encourages.
Tim