[Bug tree-optimization/32461] [4.3 Regression] Segmentation fault in build_classic_dist_vector_1() at tree-data-ref.c:2700
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Sun Jun 24 13:35:00 GMT 2007
------- Comment #25 from schwab at suse dot de 2007-06-24 13:34 -------
Subject: Re: [4.3 Regression] Segmentation fault in
build_classic_dist_vector_1() at tree-data-ref.c:2700
"Richard Guenther" <richard.guenther@gmail.com> writes:
> quite possibly. The patch is ok if it bootstraps & tests and you change
>
> /* X + ~X is -1. */
> if (TREE_CODE (arg1) == BIT_NOT_EXPR
> - && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0)
> + && operand_equal_p (op0, TREE_OPERAND (op1, 0), 0)
That won't work if op1 != arg1, ie. there are NOPs around BIT_NOT_EXPR.
Andreas.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32461
More information about the Gcc-bugs
mailing list