[LLVMbugs] [Bug 6421] New: clang++ segfaults when parsing c++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 25 00:57:10 PST 2010


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

           Summary: clang++ segfaults when parsing c++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


This bug is closely related to http://llvm.org/bugs/show_bug.cgi?id=6398 .

The following code segfaults the compiler on 64-bit linux:

class T;

class QGenericArgument
{
    static void bob();
    static void bob(int* sender);
    static void bob(QGenericArgument q); // *

    void disconnect( )
        { 
          T* t;
          bob(t); 
        }
};

Previously the code segfaulted even without the line marked *, that was fixed
in 6398, but adding this new line reintroduces the segfault.

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