[Bug tree-optimization/32367] [4.3 Regression] internal compiler error: in build_polynomial_chrec, at tree-chrec.h:113

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 16 20:41:00 GMT 2007



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-06-16 20:40 -------
Actually I reduced it a little too far (I had fixed the ICE in one case but was
reducing another ICE):
int BinomialCoefficientsInited = 0;
int BinomialCoefficients[17 * 35];
double Evaluate_TPat (void)
{
        unsigned n, k;
        if (BinomialCoefficientsInited == 0)
        {
                int *ptr = BinomialCoefficients;
                for (n = 1; n <= 33; ++n)
                {
                        for (k = 1; k < n; ++k)
                                ++ptr;
                        *ptr = 1;
                }
        }    
}


-- 


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



More information about the Gcc-bugs mailing list