[llvm-bugs] [Bug 26770] New: Out of memory with huge .rodata allocation

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 29 04:27:40 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26770

            Bug ID: 26770
           Summary: Out of memory with huge .rodata allocation
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rootkit85 at yahoo.it
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15956
  --> https://llvm.org/bugs/attachment.cgi?id=15956&action=edit
preprocessed C file

trying to compile a program with an huge const array like:

const int x[1l << 24] = {1};

will likely go out of memory

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160229/a14baffd/attachment-0001.html>


More information about the llvm-bugs mailing list