This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2005 00:37:05 -0000
- Subject: [Bug tree-optimization/23049] [4.1 Regression] ICE with -O3 -ftree-vectorize on 4.1.x
- References: <20050724142245.23049.drab@kepler.fjfi.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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