This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17252] [4.0 Regression] not marking char types as aliasing anything
- From: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2004 21:26:06 -0000
- Subject: [Bug tree-optimization/17252] [4.0 Regression] not marking char types as aliasing anything
- References: <20040831193546.17252.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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