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] Fix RTL loop-unroll ICE (PR rtl-optimization/89768)


On 3/19/19 11:54 AM, Jakub Jelinek wrote:
> Hi!
> 
> On the testcase in the PR we ICE because we create non-canonical CONST_INTs
> (e.g. for HImode niter 0xfffe) and the compare_and_jump_seq code then ICEs
> on that.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
> 
> Testcase not included, because it creates 480000 basic blocks and we handle
> that with O(n^2) complexity.
> 
> 2019-03-19  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR rtl-optimization/89768
> 	* loop-unroll.c (unroll_loop_constant_iterations): Use gen_int_mode
> 	instead of GEN_INT.
> 	(unroll_loop_runtime_iterations): Likewise.
OK
jeff


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