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

            Bug ID: 17167
           Summary: Using const_iterator on a vector fails on debug mode
                    but not in release mode
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Created attachment 11170
  --> http://llvm.org/bugs/attachment.cgi?id=11170&action=edit
Minimal Example that shows the problem

Using the most current clang build for Windows on the attached minimal example,
everything works as expected in Release Mode, but in Debug Mode it crashes with
the following message:

Debug Assertion Failed!
Program: C:\Windows\system32\MSVCP110D.dll
File: C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\include\xutility
Line: 196
Expression: ITERATOR LIST CORRUPTED!

System: Microsoft Windows 7 x64 SP1
Microsoft Visual Studio Professional 2012
Version 11.0.60610.01 Update 3
Microsoft .NET Framework
Version 4.5.50709

Clang: clang version 3.4
Target: i686-pc-win32
Thread model: posix

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