public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: PR22336 (was: Problem with tree-ssa-loop-ivopts.c:get_computation-cost)
@ 2005-07-12 13:48 Richard Kenner
  2005-07-12 13:55 ` Zdenek Dvorak
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Kenner @ 2005-07-12 13:48 UTC (permalink / raw)
  To: rakdver; +Cc: gcc-patches, gcc

    I think the patch is fine (although of course I cannot approve it).  

I, as it's author, do not.  But, as I keep saying, I don't know what
the proper fix is.

    The more proper fix would be to never expand such expressions from ivopts;

What are "such expressions"?

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Problem with tree-ssa-loop-ivopts.c:get_computation-cost
@ 2005-06-30 22:16 Richard Kenner
  2005-07-05  8:32 ` Laurent GUERBY
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Kenner @ 2005-06-30 22:16 UTC (permalink / raw)
  To: gcc

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-21 22:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12 13:48 PR22336 (was: Problem with tree-ssa-loop-ivopts.c:get_computation-cost) Richard Kenner
2005-07-12 13:55 ` Zdenek Dvorak
  -- strict thread matches above, loose matches on Subject: below --
2005-06-30 22:16 Problem with tree-ssa-loop-ivopts.c:get_computation-cost Richard Kenner
2005-07-05  8:32 ` Laurent GUERBY
2005-07-12 10:04   ` PR22336 (was: Problem with tree-ssa-loop-ivopts.c:get_computation-cost) Laurent GUERBY
2005-07-12 11:04     ` Zdenek Dvorak
2005-07-21 22:08     ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).