[Testcase] bug in reload

Eric Christopher echristo@cygnus.com
Wed Jul 19 14:23:00 GMT 2000


Here's a new testcase for the testsuite.  Failure mode is an abort in
reload.  I believe that cpopetz was working on a fix for this.

2000-07-18  Eric Christopher <echristo@redhat.com>

        * gcc.c-torture/compile/20000718-1.c: New test.


extern double foo(double, double);
extern void bar(float*, int*);

void
baz(int* arg)
{
    float tmp = (float)foo(2.0,1.0);
    unsigned i;
    short junk[64];

    for (i=0; i<10; i++, arg++) {
        bar(&tmp, arg);
    }
}


More information about the Gcc-patches mailing list