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: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2003 13:40:27 -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
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |pessimizes-code
Priority|P2 |P3
Last reconfirmed|0000-00-00 00:00:00 |2003-07-29 13:40:27
date| |
Target Milestone|3.4 |---
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-29 13:40 -------
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.