[LLVMbugs] [Bug 9889] New: Assertion failed: (*(block->succ_begin()+1) == dstBlock), function getValueVector, file UninitializedValues.cpp, line 231.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 10 10:54:37 PDT 2011


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

           Summary: Assertion failed: (*(block->succ_begin()+1) ==
                    dstBlock), function getValueVector, file
                    UninitializedValues.cpp, line 231.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


this occurs only with -Wall

pes delta$ clang -Wall parser.c
parser.c:16:7: warning: control reaches end of non-void function
[-Wreturn-type]
      }
      ^
parser.c:20:17: warning: switch condition has boolean value
  ...switch ((((*x).buffer[i0]).type == ((enum cpp_ttype) (((enum cpp_ttype)
(N_TTYPES + 1)) + 1))) || (((*x).buffer[i0]).type == ((enum cpp_ttype) (((enum
cpp_ttype) (((enum cpp_ttype) (N_TTYPES + 1)) + 1)) + 1)))...
     ^      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: (*(block->succ_begin()+1) == dstBlock), function
getValueVector, file UninitializedValues.cpp, line 231.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.1 -emit-obj -mrelax-all -disable-free -main-file-name
parser.c -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 -resource-dir /usr/local/bin/../lib/clang/3.0
-Wall -ferror-limit 19 -fmessage-length 152 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-tdgPgg.o -x c parser.c 
1.      <eof> parser at end of file
2.      parser.c:17:46: parsing function body 'gt_ggc_mx_cp_lexer'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 1 (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