<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - [REGRESSION] clang hangs or crashes"
   href="https://bugs.llvm.org/show_bug.cgi?id=39600">39600</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[REGRESSION] clang hangs or crashes
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0
          </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>lubos@dolezel.info
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

we're having problems using Clang 7 for compiling Darling (darlinghq.org).
Specifically, it crashes *or* hangs compiling CFRuntime.c (part of Apple's
CoreFoundation). The problem doesn't happen with Clang 6.

Attached is the preprocessed source code (the stack dump will follow).

The build command is:

clang -cc1 -triple i386-apple-macosx10.10.0 -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name CFRuntime.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim
-masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu yonah
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=2
-debugger-tuning=gdb -nostdsysteminc -nobuiltininc -sys-header-deps -O0
-Wno-nullability-completeness -Wno-deprecated-declarations
-Wno-expansion-to-defined -Wno-bridge-cast -ferror-limit 19 -fmessage-length 0
-stack-protector 1 -fblocks -fencode-extended-block-signature
-fregister-global-dtors-with-atexit -fobjc-runtime=macosx-fragile-10.10.0
-fobjc-subscripting-legacy-runtime -fobjc-exceptions -fexceptions
-fmax-type-align=16 -fdiagnostics-show-option -x objective-c
CFRuntime-reproducer.c

We're crosscompiling for i386-apple-macosx10.10.0, but we're running Linux.</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>