This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13835] [tree-ssa] Several loops detected instead of a single one
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2004 00:21:37 -0000
- Subject: [Bug optimization/13835] [tree-ssa] Several loops detected instead of a single one
- References: <20040123181835.13835.spop@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-16 00:21 -------
Actually it has nothing to do with the header at all.
The issue is more that DOM created two loops as it dected a >=29, a is always positive
as b and c will always be positive. This is not true for -fwrapv but that is off by default for
C.
I do not see this as wrong code because there is too loops and DOM is right here. The
real problem is that the two loops are independent but loop dectection is not decting
them.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Keywords|memory-hog |
Target Milestone|tree-ssa |lno
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13835