[LLVMbugs] [Bug 10467] New: Referring to a basic block in another function!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 24 13:13:31 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10467

           Summary: Referring to a basic block in another function!
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


pes delta-2006.08.03$ clang++ -S ipaggmanip.cc

Referring to a basic block in another function!
  switch i32 %cleanup.dest, label %cleanup [
    i32 0, label %cleanup.cont
    i32 5, label %done
  ]
Broken module found, compilation aborted!
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.2 -S -disable-free -main-file-name ipaggmanip.cc
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.15
-momit-leaf-frame-pointer -coverage-file ipaggmanip.s -resource-dir
/usr/local/bin/../lib/clang/3.0 -fdeprecated-macro -ferror-limit 19
-fmessage-length 152 -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o ipaggmanip.s -x c++ ipaggmanip.cc 
1.      <eof> parser at end of file
2.      Per-function optimization
3.      Running pass 'Module Verifier' on function '@main'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)

-- 
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