------- Comment #8 from spop at gcc dot gnu dot org 2008-12-19 01:35 ------- Subject: Re: [graphite] segfaulting code when compiled with -fgraphite -fgraphite-identity
> The patch will prevent the scop from being transformed if the number of > iterations cannot be analyzed, and it will no longer ignore chrec_unknown. I > will run some more tests to make sure it does not break anything else. The > patch is below: [...] > + if (nit == chrec_dont_know) > + return NULL_TREE; Replace this test with if (chrec_contains_undetermined (nit)) With this change the patch looks good. Please apply to trunk and branch. Sebastian -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38492