[LLVMbugs] [Bug 10363] New: crash if structure field is used in initialization expression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 14 15:51:24 PDT 2011


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

           Summary: crash if structure field is used in initialization
                    expression
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


This crashes clang in c++ mode:


struct SharedFields {
  unsigned regnum;
};
SharedFields sharedFields;
unsigned r = { sharedFields.regnum     };

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