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 tree-optimization/28187] [4.1/4.2 Regression] '-O2 -fwrapv' exhausts memory.



------- Comment #6 from rguenth at gcc dot gnu dot org  2006-07-05 15:20 -------
Slightly more reduced (for 4.1.2 on i686, trunk doesn't fail here):

extern void bar(int);
void checkgroups(int last, int verbose)
{
    int window = 0;
    int outstanding = 0;
    while (window < last || outstanding) {
        while (outstanding < 47 && window < last) {
            if (window < last) {
                outstanding++; 
                if (verbose)
                    bar(window);
                bar(window++);
            }
        }
        if (outstanding > 0) 
            bar(0); 
    }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28187


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