[LLVMbugs] [Bug 23940] New: UNREACHABLE executed at Frontend\InitHeaderSearch.cpp:311!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 24 16:11:13 PDT 2015


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

            Bug ID: 23940
           Summary: UNREACHABLE executed at
                    Frontend\InitHeaderSearch.cpp:311!
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: romaric.lecart at live.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14516
  --> https://llvm.org/bugs/attachment.cgi?id=14516&action=edit
Source file and crash dump of clang.exe

I tried to use the -m16 switch to generate 16-bit code but clang crash.

Here is the output :

c:\tmp>clang -c -m16 -v main.c
clang version 3.6.1 (tags/RELEASE_361/final)
Target: i686-pc-windows-code16
Thread model: posix
 "C:\\Program Files (x86)\\LLVM\\bin\\clang.exe" -cc1 -triple
i686-pc-windows-code16 -emit-obj -mrelax-all -disable-free -main-file-name
main.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -v
-dwarf-column-info -coverage-file "c:\\tmp\\main.c" -resource-dir "C:\\Program
Files (x86)\\LLVM\\bin\\..\\lib\\clang\\3.6.1" -fdebug-compilation-dir
"c:\\tmp" -ferror-limit 19 -fmessage-length 80 -mstackrealign
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -o main.o -x c
main.c
clang -cc1 version 3.6.1 based upon LLVM 3.6.1 default target
i686-pc-windows-gnu
ignoring nonexistent directory "/usr/local/include"
Include management is handled in the driver.
UNREACHABLE executed at
D:\src\llvm_release_build_3.6.1-final\llvm\tools\clang\lib\Frontend\InitHeaderSearch.cpp:311!
clang.exe: error: clang frontend command failed with exit code 255 (use -v to
see invocation)

I also attached the crash dump and the source file

Note : without the switch -m16 , that works perfectly

-- 
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/20150624/4ce87f57/attachment.html>


More information about the llvm-bugs mailing list