<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clang doesn't pass -I flags to the assembler (both with and without integrated as)"
   href="http://llvm.org/bugs/show_bug.cgi?id=21000">21000</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang doesn't pass -I flags to the assembler (both with and without integrated as)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bero@lindev.ch
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ 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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>