------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-01-03 20:46 -------
// even smaller testcase: 

void abort (void);

void radix_tree_tag_clear (int *node)
{
        int *path[2], **pathp = path, height;
        volatile int *addr;
        
        height = 1;
        pathp[0] = node;
        
        while (height > 0) {
                pathp[1] = pathp[0];
                pathp++;
                height--;
        }
        
        addr = pathp[0];
        *addr = 1;
}

int main ()
{
        int n;
        radix_tree_tag_clear (&n);
        if (n != 1)
                abort ();
        return 0;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18241

Reply via email to