On 12-12-05 1:13 PM, Aldy Hernandez wrote:

>> This is a division by zero ICE.

>> In the testcase in the PR, both `n' and `lra_live_max_point' are zero. I 
>> have opted to inhibit the dump when lra_live_max_point is zero, but I can 
>> just as easily avoiding printing the percentage in this case.

> Interesting. I never thought that is possible.

>> Let me know what you prefer.

>> OK for trunk?

> Yes, it is ok if you add the testcase for GCC testsuite. It would be nice if 
> you add analogous code for 
> ira-lives.c::remove_some_program_points_and_update_live_ranges too.

I agree with Steven, this patch seems to be fixing the symptom, not
the problem.  Please re-consider if Steven's patch is a better
solution.

Thanks, David

Reply via email to