[LLVMbugs] [Bug 14639] New: UNREACHABLE executed at include/llvm/CodeGen/ValueTypes.h:333

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 18 17:37:54 PST 2012


             Bug #: 14639
           Summary: UNREACHABLE executed at
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: M8R-9yw8a5 at mailinator.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

1. source code snippet (file name: f.c):

int f(const char *s, int len)
    int r = 0;
    for(int i = 0; i < len; i++)
        r ^= s[i];
    return r;

2. command line:

clang -O2 -c f.c

3. output:

getSizeInBits called on extended MVT.
UNREACHABLE executed at
Stack dump:
0.    Program arguments: /usr/home/devhc/lllvm/bin/clang -cc1 -triple
i386-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name f.c
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-target-cpu i486 -target-linker-version 2.17.50 -momit-leaf-frame-pointer
-coverage-file /usr/home/devhc/clangur/f.o -resource-dir
/usr/home/devhc/lllvm/bin/../lib/clang/3.3 -fmodule-cache-path
/var/tmp/clang-module-cache -O2 -fdebug-compilation-dir /home/devhc/clangur
-ferror-limit 19 -fmessage-length 127 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -fcolor-diagnostics -o f.o -x c f.c 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module 'f.c'.
4.    Running pass 'Loop Pass Manager' on function '@f'
5.    Running pass 'Loop Vectorization' on basic block '%for.body'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
clang version 3.3 (trunk 170425)
Target: i386-unknown-freebsd10.0
Thread model: posix

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list