------- Comment #26 from sebpop at gmail dot com  2007-06-24 13:38 -------
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:
>  An alternative is to use
>
>           if (TREE_CODE (arg1) == BIT_NOT_EXPR
>               && !TYPE_OVERFLOW_TRAPS (type))
>              {
>                 tem = TREE_OPERAND (arg1, 0);
>                 STRIP_NOPS (tem);
>                 if (operand_equal_p (arg0, tem, 0))
>  ...
>
> which would be even better and shouldn't cause other missed
> optimizations.
>

Okay, attached is the patch that implements this.
I'm bootstrapping and testing it on i686-linux.

Sebastian


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


-- 


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

Reply via email to