This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with tree-ssa-loop-ivopts.c:get_computation-cost
- From: Laurent GUERBY <laurent at guerby dot net>
- To: gcc at gcc dot gnu dot org
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Date: Tue, 05 Jul 2005 10:31:28 +0200
- Subject: Re: Problem with tree-ssa-loop-ivopts.c:get_computation-cost
- References: <10506302218.AA00728@vlsi1.ultra.nyu.edu>
This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22212
and is the problem blocking Ada bootstrap on x86_64-linux,
it would be great to move forward on this.
Laurent
On Thu, 2005-06-30 at 18:18 -0400, Richard Kenner wrote:
> This function generates RTL from an expression to see how many RTL insns
> it is. But this causes a problem compiling the Ada ACATS test cxa4006.
>
> The problem is when part of the expression has a location. In that
> case, record_block_change is called and that relies on
> cfun->ib_boundaries_block being set. But it isn't because we aren't
> expanding stuff "for real". A kludge would be to test that field, but
> what's the proper way?
>
> Also, seq_cost really should be looking at next_real_insn, not NEXT_INSN,
> since any notes shouldn't be counted.
>