This is the mail archive of the gcc@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]

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/


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