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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to