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

            Bug ID: 17600
           Summary: Illegal instruction on <regex> in libstdc++ trunk
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

// Code that caused illegal instruction, with libstdc++ trunk.
// clang++ -std=c++11 this-file.cc

#include <regex>

using namespace std;

int main()
{
  regex re("\\s+");
  string s(" two words");
  for (auto it = sregex_token_iterator(s.begin(), s.end(), re, -1);
       it != sregex_token_iterator();
       ++it);

  return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to