<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 - Assertion failed: (OuterL->isLCSSAForm(*DT) && "Loops should be in LCSSA form after loop-unroll.")"
href="https://bugs.llvm.org/show_bug.cgi?id=41605">41605</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (OuterL->isLCSSAForm(*DT) && "Loops should be in LCSSA form after loop-unroll.")
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>llvm@insonuit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21823" name="attach_21823" title="preprocessed file causing the crash">attachment 21823</a> <a href="attachment.cgi?id=21823&action=edit" title="preprocessed file causing the crash">[details]</a></span>
preprocessed file causing the crash
While building erlang on our FreeBSD variant, with a lightly modified FreeBSD
clang 3.9.1 (which adds some format checking for a private printf-like
mechanism but is otherwise unchanged), we hit an assertion failure.
gmake[4]: Entering directory `/mnt/erlang/erts/emulator'
if utils/gen_git_version x86_64-unknown-freebsd12.0/gen_git_version.mk; then
touch beam/erl_bif_info.c; fi
cc -Werror=undef -Werror=implicit -Werror=return-type -g -O3
-fomit-frame-pointer -I/mnt/erlang/erts/x86_64-unknown-freebsd12.0
-DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-DPOSIX_THREADS -Ix86_64-unknown-freebsd12.0/opt/smp -Ibeam -Isys/unix
-Isys/common -Ix86_64-unknown-freebsd12.0 -Ipcre -Ihipe -I../include
-I../include/x86_64-unknown-freebsd12.0 -I../include/internal
-I../include/internal/x86_64-unknown-freebsd12.0 -c beam/beam_emu.c -o
obj/x86_64-unknown-freebsd12.0/opt/smp/beam_emu.o
Assertion failed: (OuterL->isLCSSAForm(*DT) && "Loops should be in LCSSA form
after loop-unroll."), function UnrollLoop, file
/b/mnt/src/contrib/llvm/lib/Transforms/Utils/LoopUnroll.cpp, line 680.
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM
3.9.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.freebsd.org/submit/">https://bugs.freebsd.org/submit/</a> and include the crash backtrace, preprocessed
source, and associated run script.
cc: note: diagnostic msg:
Unfortunately we didn't have symbols for clang available, so don't have a full
backtrace.
This could conceivably be the same cause as <a class="bz_bug_link
bz_status_NEW "
title="NEW - crash at -O2 on x86_64-linxu-gnu in both 32-bit and 64-bit modes (Loops should be in LCSSA form after loop-unroll.)"
href="show_bug.cgi?id=27838">bug 27838</a>, but we haven't had the
opportunity to try the patch from there.</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>