This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13877] [3.3 regression] miscompilation with -O -funroll-loops on powerpc
- From: "gdr at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2004 01:20:34 -0000
- Subject: [Bug target/13877] [3.3 regression] miscompilation with -O -funroll-loops on powerpc
- References: <20040127073741.13877.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at gcc dot gnu dot org 2004-03-13 01:20 -------
(In reply to comment #6)
> Created an attachment (id=5894)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5894&action=view)
> clear loop_info->initial_value is loop preconditioned
>
> This fixes the problem by disabling doloop when it would interfere with loop
> unrolling. This works for the testcase, but otherwise has not been tested.
Thanks for the patch. Tested and applied.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13877