[LLVMbugs] [Bug 10720] New: crash: Res && "Invalid argument to GetAddrOfLocalVar(), no decl!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 22 19:47:59 PDT 2011


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

           Summary: crash: Res && "Invalid argument to
                    GetAddrOfLocalVar(), no decl!
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


In:

struct pair     {
int second[4];
pair() ;
pair(const pair&) = default;
};
struct _List_node    {
pair _M_data;
template<typename... _Args>         _List_node(_Args&&... __args)  : 
_M_data(__args...)         {
}
};
pair mapping;
void AddMappingInfo() {
const _List_node& __x = mapping;
}

when running

clang -cc1  -S  -std=gnu++0x   exception_handler.ii -w

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