------- Comment #21 from sebpop at gmail dot com  2007-06-24 12:50 -------
Subject: Re:  [4.3 Regression] Segmentation fault in
build_classic_dist_vector_1() at tree-data-ref.c:2700

On 6/24/07, Richard Guenther <[EMAIL PROTECTED]> wrote:
> If you use TREE_OPERAND (op0, 0), op1 instead it should work.  The
> problem seems to be that arg0/arg1 have all NOPs stripped, including
> those changing the sign.  So we get to compare a and (unsigned)a,
> which are obviously not the same.
>

Right.
The attached patch solves the problem.

> It looks like most of the users of the arg variants are suspicious in this
> regard...
>

So if I'm correctly understanding, you suppose that there are also
other cases in which fold fails just because it uses arg instead of op?

Thanks,
Sebastian


------- Comment #22 from sebpop at gmail dot com  2007-06-24 12:50 -------
Created an attachment (id=13778)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13778&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32461

Reply via email to