[LLVMbugs] [Bug 13312] New: A weird Unicode character crashes clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 9 14:24:19 PDT 2012


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

             Bug #: 13312
           Summary: A weird Unicode character crashes clang
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: andreas at innwiese.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8860
  --> http://llvm.org/bugs/attachment.cgi?id=8860
A testcase that crashes clang.

Compiling this C++ program (attached) crashes clang:

struct Foo {
  int bar;
};

int main( ) {
  struct Foo foo;
  (&foo)−>bar = 42;
  return 0;
}

Notice that the -> operator contains a weird unicode character.

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