[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Sun Sep 18 00:37:00 GMT 2005
------- Additional Comments From law at redhat dot com 2005-09-18 00:37 -------
Subject: Re: [4.1 Regression] ICE with -O3
-ftree-vectorize on 4.1.x
On Sat, 2005-09-17 at 19:38 +0000, pinskia at physics dot uc dot edu
wrote:
> > ------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2005-09-17 19:31 -------
> > Please fix the caller who is not folding the condition in the first place instead.
>
> we have "a = b == 0 ? 1 : 2;" before in DOM and then we replace b with
> the value that DOM thinks is correct and then we have "0 == 0 ? 1 : 2;" which is then
> passed to fold
Is there some reason fold_stmt (which should have been called after the
replacement by DOM) didn't fold the conditional?
jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23049
More information about the Gcc-bugs
mailing list