[LLVMbugs] [Bug 3256] New: valgrind reports invalid reads in Sema::ActOnPopScope

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 22 17:15:06 PST 2008


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

           Summary: valgrind reports invalid reads in Sema::ActOnPopScope
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:

int a() {int x;

Run "valgrind clang test.c", and there are read errors coming out of
Sema::ActOnPopScope corresponding to a destroyed declaration.

This is one case reduced from a relatively large testcase; it's hard to tell if
there are more similar issues lurking.


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