This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.1.1 Status
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Bernd Schmidt <bernds at redhat dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, Mark Mitchell <mark at codesourcery dot com>, <gcc at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>, Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Mon, 1 Jul 2002 10:53:06 +0200 (CEST)
- Subject: Re: GCC 3.1.1 Status
On Fri, 28 Jun 2002, Gerald Pfeifer wrote:
> Thanks! I have put the PR c/6957 into feedback state, and will close
> this high priority bug once we have feedback from the submitter.
Bernd, I just noticed that PR 7063 seems to be a duplicate of 6957,
which includes a very nice and small test case by Volker Reichelt:
void foo()
{
char (*c)[2];
float *fp;
int i, j;
union { float r; int i; } u;
for ( i=0; i<j; ++i )
if (j==1)
{
++fp;
u.r = *fp; c[i][0] = u.i>0 ? 0 : (u.r+=1, u.i);
u.r = *fp; c[i][0] = u.i>0 ? 0 : (u.r+=1, u.i);
}
}
compiled with gcc -march=athlon -O2 -fforce-addr -c
Would you mind adding this to the testsuite?
Thanks,
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/