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/13835] [tree-ssa] Several loops detected instead of a single one


------- 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


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