This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]