<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 --- - Assertion `Offset <= PieceOffset && "overlapping or duplicate pieces"' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=22495">22495</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `Offset <= PieceOffset && "overlapping or duplicate pieces"' failed.
          </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>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>aprantl@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

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

We ran into this when compiling Chromium.

This does not happen on the 3.6 release branch.

Attaching unreduced repro. Run line:

clang "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-disable-free"
"-main-file-name" "prog_opt_constant_fold.c" "-mrelocation-model" "pic"
"-pic-level" "2" "-mthread-model" "posix" "-relaxed-aliasing" "-fmath-errno"
"-masm-verbose" "-mconstructor-aliases" "-target-cpu" "x86-64"
"-momit-leaf-frame-pointer" "-g" "-dwarf-column-info" "-ffunction-sections"
"-fdata-sections"  "-O2"   "-fvisibility" "hidden" "-pthread"
"-stack-protector" "1" "-stack-protector-buffer-size" "4" "-mstackrealign"
"-fobjc-runtime=gcc"  "-vectorize-loops" "-vectorize-slp" "-x" "c"
"pieceoffset.c"</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>