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

            Bug ID: 16051
           Summary: Segmentation fault on cyclical recursive include
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Create 4 files:
1) 1.c:
#include "1.h"
2) 1.h
#include "2.h"
3) 2.h
#include "not_exist.h"
#include "3.h"
4)3.h
#include "3.h"
#include "1.h"

Run clang:
clang 1.c

Output:
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: error: unable to execute command: Segmentation fault (core dumped)

-- 
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