https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114635
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to kugan from comment #9) > Looking at the options, looks to me that making loop->safelen a poly_in is > the way to go. (In reply to Jakub Jelinek from comment #4) > > The OpenMP safelen clause argument is a scalar integer, so using poly_int > > for something that must be an int doesn't make sense. > > Though, the above testcase actually doesn't use safelen clause, so safelen > > is there effectively infinity. > Thanks. I was looking at this to see if there is a way to handle this > differently. Looks to me that making loop->safelen a poly_int is the way to > handle at least the case when omp safelen clause is not provided. Why? Then it just is INT_MAX value, which is a magic value that says that it is infinity. No need to say it is a poly_int infinity.