On 07/15/2015 03:01 PM, Jeff Law wrote:
On 07/14/2015 05:37 AM, Richard Biener wrote:
On Tue, 14 Jul 2015, Richard Biener wrote:


Applied.  The following patch adds the equivalences for the destination
of use stmts if they simplify.

Actually I can't use FOR_EACH_IMM_USE_STMT any longer because
record_equivalence ends up calling has_single_use which doens't
handle the special marker FOR_EACH_IMM_USE_STMT inserts.

hmm, that is unfortunate... and seems almost like a bug to me... Maybe that should be fixed?

And doesn't that also mean num_imm_uses() has a latent bug if used during a FOR_EACH_IMM_USE_STMT ?

admittedly neither situation is very common I suspect, but it does seem like a hidden gotchya waiting to happen.

Andrew


Reply via email to