[LLVMbugs] [Bug 13092] New: -Wuninitialized triggers on parenthized pointers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 12 10:47:34 PDT 2012


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

             Bug #: 13092
           Summary: -Wuninitialized triggers on parenthized pointers
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Consider:


struct { struct { void *p; } a; } b = { { &(b.a) }};

At the moment, this triggers -Wuninitialized, but doesn't without the ().

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