This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32461] [4.3 Regression] Segmentation fault in build_classic_dist_vector_1() at tree-data-ref.c:2700
- From: "ebotcazou at libertysurf dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2007 10:45:57 -0000
- Subject: [Bug tree-optimization/32461] [4.3 Regression] Segmentation fault in build_classic_dist_vector_1() at tree-data-ref.c:2700
- References: <bug-32461-13856@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from ebotcazou at libertysurf dot fr 2007-06-24 10:45 -------
Subject: Re: [4.3 Regression] Segmentation fault in
build_classic_dist_vector_1() at tree-data-ref.c:2700
> Because there is a STRIP_NOPS in fold_binary and then we look at
> BIT_NOT_EXPR's operand which is a NOP_EXPR.
Ah, yes, thanks.
> Maybe we should fold ~(int)unsigned_var into (int)~unsigned_var and that
> would fix the issue all the time.
What about stripping the NOPs within BIT_NOT_EXPR's operand too before
invoking operand_equal_p on it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32461