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/51551] New: tree-loop-optimize chews all memory


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

             Bug #: 51551
           Summary: tree-loop-optimize chews all memory
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Keywords: memory-hog
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
              Host: i686-pc-linux-gnu
            Target: i686-pc-linux-gnu
             Build: i686-pc-linux-gnu


Created attachment 26082
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26082
bug-loop.c

The test program attached don't finish compilation and gcc is entering infinite
loop that chews up all of memory.

Compile with:

$ gcc bug-loop.c -S -Os

Following works:

$ gcc bug-loop.c -S -O2
$ gcc bug-loop.c -S -Os -fno-tree-loop-optimize


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