This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11707] constants not propagated in unrolled loop iterations with a conditional
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2003 13:45:02 -0000
- Subject: [Bug optimization/11707] constants not propagated in unrolled loop iterations with a conditional
- References: <20030729133436.11707.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11707
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2003-07-29 13:45 -------
Subject: Re: constants not propagated in unrolled
loop iterations with a conditional
On 29 Jul 2003, pinskia at physics dot uc dot edu wrote:
> I can confirm this on the mainline (20030729) but with the rtlopt branch, gcc produces great code:
> _foo2:
> li r3,1
> blr
> (which is just return 1; for you non powerpc asm readers.)
> Also with the tree-ssa branch (20030718) with -funroll-loops, gcc produces the same code as
> above.
>
> So when either rtlopt or tree-ssa branch is rolled into gcc, this will be fixed.
This probably means its not going to be fixed for 3.4? Can you assign the
PR to Zdenek Dvorak? Maybe there are a few hunks from rtlopt that fixes
this.
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/