This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11707] constants not propagated in unrolled loop iterations with a conditional


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]