[LLVMbugs] [Bug 89] New: [C++] Catch blocks make unparsable labels

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Tue Nov 4 17:39:08 PST 2003


           Summary: [C++] Catch blocks make unparsable labels
           Product: tools
           Version: 1.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

This testcase:

#include <string>
void bar();
void test() {
  try {
  } catch (std::string) {}

Produces a label named
'%caught.basic_string<char,std::char_traits<char>,std::allocator<char> >', which
is causing parse errors.

Testcase is test/Regression/C++Frontend/2003-11-04-CatchLabelName.cpp


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list