[llvm-bugs] [Bug 25668] New: Assertion failed: (Loc.isValid() && "point of instantiation must be valid!"),

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 29 12:17:22 PST 2015


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

            Bug ID: 25668
           Summary: Assertion failed: (Loc.isValid() && "point of
                    instantiation must be valid!"),
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: amdmi3 at amdmi3.ru
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15361
  --> https://llvm.org/bugs/attachment.cgi?id=15361&action=edit
Compressed source

Clang 3.7.0 from FreeBSD-current base system crashes on my code:

---
FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906
Target: x86_64-unknown-freebsd11.0
Thread model: posix
---
Assertion failed: (Loc.isValid() && "point of instantiation must be valid!"),
function setPointOfInstantiation, file
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include/clang/AST/DeclTemplate.h,
line 1606.
CC: error: unable to execute command: Abort trap
CC: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906
Target: x86_64-unknown-freebsd11.0
Thread model: posix
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: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
CC: note: diagnostic msg: /tmp/coins-a35b73.cpp
CC: note: diagnostic msg: /tmp/coins-a35b73.sh
CC: note: diagnostic msg: 

********************
*** Error code 254

Stop.
make[2]: stopped in /home/amdmi3/projects/software/hoverboard-sdl/build
*** Error code 1

Stop.
make[1]: stopped in /home/amdmi3/projects/software/hoverboard-sdl/build
*** Error code 1

Stop.
make: stopped in /home/amdmi3/projects/software/hoverboard-sdl/build
---

Complete source and run script attached.

-- 
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/20151129/f7d02994/attachment.html>


More information about the llvm-bugs mailing list