[llvm-bugs] [Bug 41605] New: Assertion failed: (OuterL->isLCSSAForm(*DT) && "Loops should be in LCSSA form after loop-unroll.")

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 25 11:47:55 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41605

            Bug ID: 41605
           Summary: Assertion failed: (OuterL->isLCSSAForm(*DT) && "Loops
                    should be in LCSSA form after loop-unroll.")
           Product: new-bugs
           Version: 3.9
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at insonuit.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 21823
  --> https://bugs.llvm.org/attachment.cgi?id=21823&action=edit
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
https://bugs.freebsd.org/submit/ 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 bug 27838, but we haven't had the
opportunity to try the patch from there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190425/c6d29e8b/attachment.html>


More information about the llvm-bugs mailing list