<html>
    <head>
      <base href="https://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 2X slower than gcc compiling lld/ELF/Writer.cpp"
   href="https://llvm.org/bugs/show_bug.cgi?id=24940">24940</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang 2X slower than gcc compiling lld/ELF/Writer.cpp
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rafael.espindola@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14936" name="attach_14936" title=".ii file">attachment 14936</a> <a href="attachment.cgi?id=14936&action=edit" title=".ii file">[details]</a></span>
.ii file

The times I got were

clang -O0: 0m2.394s
clang -O1: 0m4.640s
clang -O2: 0m9.793s
clang -Os: 0m7.051s
clang -O3: 0m11.771s

gcc -O0: 0m3.576s
gcc -O1: 0m3.810s
gcc -O2: 0m4.688s
gcc -Os: 0m4.171s
gcc -O3: 0m5.154s</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>