------- Comment #6 from spop at gcc dot gnu dot org  2007-06-23 11:05 -------
Subject: Re:  [4.3 Regression] Segmentation fault in
build_classic_dist_vector_1() at tree-data-ref.c:2700

Okay.

The fail is because one of the folds is not a constant as expected:

MINUS_EXPR
(unsigned int) bndstart_108(D)
(unsigned int) (bndstart_108(D) + 1)
=
0xffffffffffffffff

MINUS_EXPR
(unsigned int) i_434 + 1
(unsigned int) i_434
=
1

but when reversed,

MINUS_EXPR
(unsigned int) i_434
(unsigned int) i_434 + 1
=
~(unsigned int) i_434 + (unsigned int) i_434

the fold result is not an integer_cst, and that lead to the fail.


-- 


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

Reply via email to