This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2007 14:05:08 -0000
- Subject: [Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c
- References: <bug-33159-7849@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dberlin at gcc dot gnu dot org 2007-08-23 14:05 -------
Subject: Re: [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c
On 8/23/07, Daniel Berlin <dberlin@dberlin.org> wrote:
> On 23 Aug 2007 13:55:21 -0000, bonzini at gnu dot org
> <gcc-bugzilla@gcc.gnu.org> wrote:
> >
> >
> > ------- Comment #2 from bonzini at gnu dot org 2007-08-23 13:55 -------
> > The testcase is cross-platform (at least as far as this PR and PR33158 are
> > concerned).
> >
> > Of the four VDEFs, only the ones for SMT.8 and ARCHnodes seem correct to me.
> > The "int" assignment should not cause aliasing for either the nodekind global
> > (an "int *") or nodekindf (a "float *").
>
> Uh, it's a store into an int *.
> Thus it could touch nodekind.
> nodekindf it can't, and i'll see what is up there.
>
On my platform, i get
# ARCHnodes_33 = VDEF <ARCHnodes_25>
# SMT.8_34 = VDEF <SMT.8_27>
*D.1997_7 = D.2001_13;
Which seems to be what you wanted. I'm not sure what you are testing
on, or what version.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33159