[Bug tree-optimization/34063] [4.3 Regression] ICE: build2_stat, at tree.c:3115
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 13 17:34:00 GMT 2007
------- Comment #4 from rakdver at gcc dot gnu dot org 2007-11-13 17:34 -------
(In reply to comment #3)
> Either we should use correct order of arguments in chrec_evaluate (that
> function
> is swapping CHREC_LEFT based expression with CHREC_RIGHT based expression
> for pointer_plus addition) - testing patch for that
This is the correct fix.
> - or chrec_fold_plus_1
> should swap op0 with op1 if code is POINTER_PLUS_EXPR and the first argument
> has integer type, but second POINTER_TYPE_P.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34063
More information about the Gcc-bugs
mailing list