This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] lno branch merge -- new iv & simple loop analysis


Hello,

> > I have added check for this to iv_number_of_iterations and abort
> > to get_mode_bounds; there are several places where I rely on that
> > the returned value is a const_int, so I would rather postpone handling
> > it till it shows up to be a problem.
> 
> I would expect
> 
> 	long long i, n;
> 	for (i = 0; i < n; ++i)
> 
> to abort on i386 then, since HOST_BITS_PER_WIDE_INT == 32.
> You're going to have to have some way to quit early if the
> mode doesn't fit your expectations.

as I stated, I have added this check to iv_number_of_iterations.

Zdenek

> Unless you have a Really Good Reason, I think all of your
> uses of HOST_WIDEST_INT are wrong.
> 
> 
> r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]