<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 --- - ".org . - 1" segfault clang"
   href="http://llvm.org/bugs/show_bug.cgi?id=20752">20752</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>".org . - 1" segfault clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>Backend: X86
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </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>-- foo.S --
.org . - 1

$ LANG=C clang-3.6 -cc1as  -filetype obj foo.S  
0  libLLVM-3.6.so.1 0x00007fccec3ddd52 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.6.so.1 0x00007fccec3dd7fc
2  libpthread.so.0  0x00007fcceb0138d0
3  libc.so.6        0x00007fcce9c58854 memset + 84
4  libLLVM-3.6.so.1 0x00007fcceb89336e
llvm::MCObjectStreamer::EmitFill(unsigned long, unsigned char) + 94
5  libLLVM-3.6.so.1 0x00007fcceb891dad
llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) +
301
6  libLLVM-3.6.so.1 0x00007fcceb7e616b
7  libLLVM-3.6.so.1 0x00007fccebc0fc3f
8  libLLVM-3.6.so.1 0x00007fccebc0fe35
9  clang-3.6        0x00000000006996e7 cc1as_main(char const**, char const**,
char const*, void*) + 5927
10 clang-3.6        0x0000000000695505 main + 9013
11 libc.so.6        0x00007fcce9bf4b45 __libc_start_main + 245
12 clang-3.6        0x0000000000695536
Stack dump:
0.    Program arguments: clang-3.6 -cc1as -filetype obj foo.S 
1.    Program arguments: -filetype obj foo.S 
0  libLLVM-3.6.so.1 0x00007fccec3ddd52 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.6.so.1 0x00007fccec3dd7fc
2  libpthread.so.0  0x00007fcceb0138d0
3  libc.so.6        0x00007fcce9c58854 memset + 84
4  libLLVM-3.6.so.1 0x00007fcceb89336e
llvm::MCObjectStreamer::EmitFill(unsigned long, unsigned char) + 94
5  libLLVM-3.6.so.1 0x00007fcceb891dad
llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) +
301
6  libLLVM-3.6.so.1 0x00007fcceb7e616b
7  libLLVM-3.6.so.1 0x00007fccebc0fc3f
8  libLLVM-3.6.so.1 0x00007fccebc0fe35
9  clang-3.6        0x00000000006996e7 cc1as_main(char const**, char const**,
char const*, void*) + 5927
10 clang-3.6        0x0000000000695505 main + 9013
11 libc.so.6        0x00007fcce9bf4b45 __libc_start_main + 245
12 clang-3.6        0x0000000000695536
Erreur de segmentation

Can be reproduced with 3.4 & 3.5</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>