This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR rtl-optimization/55604]: fix ICE in remove_some_program_points_and_update_live_ranges
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 05 Dec 2012 13:47:54 -0500
- Subject: Re: [PR rtl-optimization/55604]: fix ICE in remove_some_program_points_and_update_live_ranges
- References: <50BF8ECF.4010804@redhat.com>
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.