[LLVMbugs] [Bug 7044] New: Assertion failed: (V && "DeclRefExpr not entered in LocalDeclMap?"), function EmitDeclRefLValue, file CGExpr.cpp, line 1139.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 4 12:28:40 PDT 2010


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

           Summary: Assertion failed: (V && "DeclRefExpr not entered in
                    LocalDeclMap?"), function EmitDeclRefLValue, file
                    CGExpr.cpp, line 1139.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


pes delta$ cat label.c
   typedef struct _dmenu_item {
    }
     dialogMenuItem;
            typedef struct _part_info {
     union {
     struct {
     }
   newfs_custom;
    }
    newfs_data;
    };
      int diskLabelEditor(dialogMenuItem *self) {
        int key = 0;
        char *msg = ((void *)0);
    switch (__sbtoupper(key)) {
       static char _msg[40];
    case '\014':      clear_wins();
       msg = _msg;
   }
       }
pes delta$ clang label.c

    ...warnings...

Assertion failed: (V && "DeclRefExpr not entered in LocalDeclMap?"), function
EmitDeclRefLValue, file CGExpr.cpp, line 1139.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name label.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/2.0
-ferror-limit 19 -ftemplate-backtrace-limit 10 -fmessage-length 152
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-g3apn2.s
-x c label.c 
1.      <eof> parser at end of file
2.      label.c:12:11: LLVM IR generation of declaration 'diskLabelEditor'
3.      label.c:12:11: Generating code for declaration 'diskLabelEditor'
4.      label.c:12:49: LLVM IR generation of compound statement ('{}')
5.      label.c:15:31: LLVM IR generation of compound statement ('{}')
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
pes delta$

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