------- Additional Comments From micis at gmx dot de  2005-08-01 14:08 -------
double foo(double a)
{
    double b;
    int i;
    for (i = 0; i < 10; i++)
    {
        b = a;
        a -= 1.0;
    }
    return b;
}

This loop from comment#3 gives:

gcc41i -O2 -ffast-math -ftree-vectorize -o bug23173.o -c bug23173.c
bug23173.c: In function 'foo':
bug23173.c:2: internal compiler error: tree check: expected real_cst, have 
integer_cst in const_binop, at fold-const.c:1512
Please submit a full bug report, with preprocessed source if appropriate.


-- 


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

Reply via email to