[LLVMbugs] [Bug 17600] New: Illegal instruction on <regex> in libstdc++ trunk

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 16 11:04:07 PDT 2013


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: unassignedclangbugs at nondot.org
          Reporter: timshen at gcc.gnu.org
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131016/f08aed8b/attachment.html>


More information about the llvm-bugs mailing list