[Bug tree-optimization/17252] [4.0 Regression] not marking char types as aliasing anything

dnovillo at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 16 21:26:00 GMT 2004


------- Additional Comments From dnovillo at redhat dot com  2004-09-16 21:26 -------
Subject: Re:  [4.0 Regression] not marking
	char types as aliasing anything

On Thu, 2004-09-16 at 17:23, danglin at gcc dot gnu dot org wrote:
> ------- Additional Comments From danglin at gcc dot gnu dot org  2004-09-16 21:23 -------
> The test for this PR fails on big-endian machines.  The following doesn't
> change what 'a' is pointing to:
> 
>   /* Change what 'a' is pointing to.  */
>   a[0] = 0;
> 
Richard Guenther suggested changing that to a[0]++.  Seems reasonable to
me.  Could you try with that and see if that works?


Thanks.  Diego.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17252



More information about the Gcc-bugs mailing list