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

            Bug ID: 21000
           Summary: clang doesn't pass -I flags to the assembler (both
                    with and without integrated as)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

$ echo '.include "b.s"' >a.s
$ mkdir b
$ touch b/b.s
$ gcc -I b -c a.s
$ clang -I b -c a.s -integrated-as
clang: warning: argument unused during compilation: '-I b'
a.s:1:10: error: Could not find include file 'b.s'
.include "b.s"
         ^
$ clang -I b -c a.s -no-integrated-as
clang: warning: argument unused during compilation: '-I b'
a.s: Assembler messages:
a.s:1: Error: can't open b.s for reading: No such file or directory
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)

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