http://llvm.org/bugs/show_bug.cgi?id=14030

             Bug #: 14030
           Summary: Too long expression makes clang crash
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9311
  --> http://llvm.org/bugs/attachment.cgi?id=9311
the source code that makes clang crash, preprocessed source, and associated run
script

I made a hello world C code, which contains one line of very much long
expression.
The very much long expression is composed of a chain of for about 4MB of '+1'.

I made this example to test the recursion in Clang.

gdb cannot produce the backtrace at all. Maybe the crash ate it up all...

But gcc compiles this with no problem. And the result binary works correctly.
Only clang crashes...

Best regards

Journeyer J. Joh

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to