<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - Crash in 'Loop Vectorization'"
   href="http://llvm.org/bugs/show_bug.cgi?id=21508">21508</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash in 'Loop Vectorization'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eocallaghan@alterapraxis.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=13301" name="attach_13301" title="invocation script">attachment 13301</a> <a href="attachment.cgi?id=13301&action=edit" title="invocation script">[details]</a></span>
invocation script

edward@sundancekid:~$ sh nbHtInit-46ae8a.sh 

clang: /home/edward/llvm/include/llvm/IR/DataLayout.h:498: uint64_t
llvm::DataLayout::getTypeSizeInBits(llvm::Type *) const: Assertion
`Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed.
#0 0x292361a llvm::sys::PrintStackTrace(_IO_FILE*)
(/usr/local/bin/clang+0x292361a)
#1 0x2924cdb (/usr/local/bin/clang+0x2924cdb)
#2 0x7f1424c000a0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0xf0a0)
#3 0x7f1423cec165 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x32165)
#4 0x7f1423cef3e0 abort (/lib/x86_64-linux-gnu/libc.so.6+0x353e0)
#5 0x7f1423ce5311 __assert_fail (/lib/x86_64-linux-gnu/libc.so.6+0x2b311)
#6 0x96b7c8 (/usr/local/bin/clang+0x96b7c8)
#7 0x18a6a50 (/usr/local/bin/clang+0x18a6a50)
#8 0x18a12ce (/usr/local/bin/clang+0x18a12ce)
#9 0x18a00be (/usr/local/bin/clang+0x18a00be)
#10 0x28b3ed3 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/clang+0x28b3ed3)
#11 0x28b414b llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/clang+0x28b414b)
#12 0x28b46a7 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/clang+0x28b46a7)
#13 0x94c7f3 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) (/usr/local/bin/clang+0x94c7f3)
#14 0x9414c5 (/usr/local/bin/clang+0x9414c5)
#15 0xb43b33 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/clang+0xb43b33)
#16 0x7522de clang::FrontendAction::Execute() (/usr/local/bin/clang+0x7522de)
#17 0x7254ac clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang+0x7254ac)
#18 0x707702 clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang+0x707702)
#19 0x6fe537 cc1_main(llvm::ArrayRef<char const*>, char const*, void*)
(/usr/local/bin/clang+0x6fe537)
#20 0x705d15 main (/usr/local/bin/clang+0x705d15)
#21 0x7f1423cd8ead __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x1eead)
#22 0x6fe1a9 _start (/usr/local/bin/clang+0x6fe1a9)
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple i386--linux-elf -S
-disable-free -main-file-name nbHtInit.c -mrelocation-model static
-mthread-model posix -mno-zero-initialized-in-bss -relaxed-aliasing
-fmath-errno -masm-verbose -no-integrated-as -mconstructor-aliases
-fuse-init-array -target-cpu pentium4 -target-feature -mmx -target-feature
+sse3 -target-linker-version 2.22 -momit-leaf-frame-pointer -g
-dwarf-column-info -nostdsysteminc -nobuiltininc -D __PRE_RAM__ -Os -Wall
-Wundef -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wredundant-decls -Wno-trigraphs -Wstrict-aliasing -Wshadow -fconst-strings
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 0 -ffreestanding
-mstackrealign -fno-builtin -fobjc-runtime=gcc -fno-common
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -x c
nbHtInit-46ae8a.c 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'Function Pass Manager' on module 'nbHtInit-46ae8a.c'.
4.    Running pass 'Loop Vectorization' on function '@NbInitRasParityMacro'
Aborted



edward@sundancekid:~$ uname -a
Linux sundancekid 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1
(2014-09-21) x86_64 GNU/Linux

edward@sundancekid:~$ clang --version
clang version 3.6.0 (trunk 220769)
Target: x86_64-unknown-linux-gnu
Thread model: posix</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>