VS2015中C++编译器前端bug的修复


[原文发表地址] C++ Compiler Front-End Fixes In VS2015

[原文发表时间] 2015/07/01 10:05AM

下面的快速预览列表列出了已修复的C++编译器前端bug,这些bug都是通过微软Connect门户网站提交的。

我们很高兴的告诉大家,从去年年中发布的第一个Visual Studio CTP版本至现在即将发布的Visual Studio 2015 RTM版本之间,我们修复了将近750个从微软Connect门户网站提交的bug。

列表中修复的bug仅仅涉及到编译器前端, 这些bug并不涉及标准库,编译器后端,代码生成,代码优化和集成开发环境代码预览功能。这些Bug都是由我们社区的用户数年来不辞辛苦地从发布的和预发布的VC++编译器中发现并提交给我们。

感谢你们的耐心使用,并且希望你们能继续给我们提交bug。虽然我们没有办法修复所有已经提交的bug, 但是我们会在未来发布的Visual Studio版本中进一步提高bug修复率。

节日快乐!

Visual C++ 编译器团队

Connect ID

Connect Customer

Bug Description

933062

__Rafi

Internal Compiler Error – Conversion operator in switch expression

1231858

_Johannes_

Compile error when using data member pointer as template parameter

1012671

_lee

C++ destructor not called when using goto statement;

1029357

_lee

VC2015: C++ destructor not called when using goto statement

1031166

_lee

__ptr64 specifier crashes compiler called with option -Wall

1089654

_lee

noexcept specifier prevents function inlining with options /Ob1 or /Ob2

1098895

_lee

Errors C2327, C2065 when in-class initialization of non-static data member

1152789

108065

Compiler crash and error C1001

807634

4lg3br4

Stack overflow in recursive template with member function returning scoped enum

1135528

6XGate

C6011 Not Issued for Obvious Error

1265608

A D R I A N

[Now] Template function type is not able to be deduced when function taking template function pointer

1076827

A D R I A N

aliased enable if failure results in int type

1069557

A D R I A N

Failed to deduce type for template function

1048071

A.N.Ivanov

c++ Compiler Crash

1230753

A320

INTERNAL COMPILER ERROR on 2013CE

1103344

A320

Template instantiation via using alias with array doesn’t work

944863

aaasssssssssddddddd

cl.exe crash

1022215

Aaron J Ballman

ICE with placement new

1007373

Aaron J Ballman

Constructor function-try-block handler with a return statement

1012946

Aaron J Ballman

N3778: Placement deallocation functions not ill-formed; considered usual deallocation function

855078

Aaron J Ballman

Range-based for loops get confused by common macro expansion

1288393

Aaron J Ballman

Value initialization incorrectly selects default initialization instead of zero initialization

1311498

Aaron J Ballman

Attributes do not work

1322808

Aaron J Ballman

Warning (/W4) with compiler-generated local variable

1397025

Aaron J Ballman

Possible Regression with ill-formed capture clause

804888

AbhijitBhattacharjee

With Language Extension Enabled VC11 an explicit cast is not creating an rvalue from bit-fields

817561

accdotnet

C++11 Initializer List Bug

1137326

Ace24713

C++ inheriting constructors bug

1115691

Acki_

C++ temporaries destroyed to early (workaround needed)

884930

Acki_

Strange ambiguous compile error when forwarding multi-dimensional arrays

1085630

Acki_

[template alias] Internal error in the compiler, because of TMP C++ (integer_sequence for c++11)

913131

Ad aCTa

[Torino] C++ Compiler parser bug (syntax error)

1012860

AdamPJay

C++\CLR compiler error when overriding generic method

1118417

aepaerae

[constexpr] Internal error with constexpr

800364

Agounaro

[milan][initlist] Initializer_list calls object destructor twice

979121

Åkerblom Jens

Failure to Unpack Template Parameter Pack with Function Type Specialization

1096046

AlanBirtles

std::thread with member function template

1096205

Alessandro Vergani

std::index_sequence in a variadic template fails with error C3520

1174663

Alex Alabuzhev

Can’t compile std::mem_fn(&std::string::empty)

1341428

Alex Alabuzhev

ICE in Visual C++

856922

Alex Buisson

compile issue using C99 and “_t” typedef after if

1051551

Alex Katranov

C++ compiler is unable to expand a parameter pack correctly.

1028767

alex postlethwaite

Internal compiler error with warning 4826 enabled

835519

Alex_0815

[neg] Using an enum that has been forward declared with the “class” keyword crashes the compiler

800229

Alex_0815

Using a friend operator that is declared inside a template class may cause a compiler error or even generate a wrong fuction call if the template has not been used in the file before

813369

Alexander Miloslavskiy

#pragma setlocale value is not saved through Precompiled Header

1005359

AlexBats

Visual C++ compiler crash

797935

alexv1n

C++ compiler crashes when generating code for calling a pointer to a member function for classes

804864

alexv1n

Pointers to class members with virtual inheritance trigger bogus /RTCc checks on x64 platform under certain conditions

790146

Alf P. Steinbach, except MS doesn’t acce

[value init] Visual C++ 11.0 fails to zero-initialize instance of derived class

800321

Alf P. Steinbach, except MS doesn’t acce

[template alias] “using” not behaving as I expected

875119

Alf P. Steinbach, except MS doesn’t acce

C++11 empty initializer invoking incorrect constructor

1140939

Aloxol

C++ compiler crashes

802057

AM_12756

[milan] C++11 variadic template + template alias causes internal compiler error

802063

AM_12756

[milan][initlist][neg] ill-formed unified initialization syntax causes internal compiler error in Visual C++

938576

Ambrax

Cast of strong typed enum creates compiler crash

811575

Ananth Kasillingam

Visual C++ 2012 native code, deletes an object before the scope ends, if used with CLR compilation. Causing Crash.

1249395

Andreas Hofinger

Wrong line numbers in debugger when multiline literal is present

807419

Andreas Magnusson

[milan][initlist] Initializer lists leaking memory

841107

Andrei Drexler

[template alias] C1001 with CRTP and alias template using deduced return type

970896

Andrew [4NDR3W1]

Failed to specialize function template on generic lambda, when variadic template is used

799653

AndrewZMorris

Different decltype behaviour when used in template vs non-template class

921721

Andrey Bataev

VS2013 failed to compile correct range-based for

1415072

Andrey Bataev

Unexpected compiled error on correct c++11 code

943112

Andrey Kolomentsev

[Visual Studio “14” CTP][C++11] Object destructor called right away after creation on stack, not at the end of scope

869457

Andrey Kolomentsev

[Torino] Internal compiler error on SFINAE with template alias

878106

Andrey Kolomentsev

[Torino] function template overload issue

1125021

Andy_Robbins

std::alignment_of disagrees with __alignof

843852

Anton K2

[generic lambda] “C1060: compiler is out of heap space” for a small piece of code

1244883

Anton Potapov

[SBC] (Copy) is not called; use of initialized object;

1139824

APetrosyan AM

VC++ compiler crash on syntax error

864169

apostasia

Compilation error when braces are left out of single-line if statement

957801

apostasia

Compilation error with variadic templates

1055176

Arieh Schneier

error C1001: An internal error has occurred in the compiler

1007521

aseth.ca

VS C++ Fails to compile initializer that invokes std::bind – not up to C++11 standard

1015422

Asilano

Compiler bug with C++ template specialisation

1073957

ASpadi

Internal compiler error C1001 using template from std lib

1089210

Axalo

Visual Studio 2013 having trouble with parameter packs in combination with pointers to overloaded member functions

806758

Azarien

[milan][initlist] using initializer list causes runtime crash

1173945

B Erasmus

fatal error C1001: An internal error has occurred in the compiler

845750

Barfy

Broken template function overload resolution in VS2013 Update 2 RC

845762

Barfy

[regression][template alias] Internal Compiler Error in VS 2013 Update 2 RC

995548

Barfy

Internal Compiler Error

1135089

Barnabé BALP

zero init behavior for members changes if dtor is declared default or is implemented

823306

bastian.ai101

Compilation error initializer list braces on a struct that has an std::array member

1145187

bcmpinc

[Compiler] Incorrect capture of template argument pack in template specialization

976423

Beck J

Template friend declaration

1058890

Beck J

Compiler Error

1102569

Belloc

Internal error reported while compiling this snippet

1039350

Beman1

[neg] VC++ “fatal error C1075: the left parenthesis ‘(‘ was umatched..” line number wrong

849458

Bengt Gustafsson

Template which compiles in win32|debug but not in win32|release. Error message seems to be from front end however…

800344

Bert Rodiers

fatal error C1001: An internal error has occurred in the compiler declaring friend functions in template classes

941227

Bert Rodiers

Nested uniform initialization: wrong arguments are passed

798439

BFG10K

Visual C++ 2013 Preview Compiler Crash

798489

BFG10K

C++: Syntax error with default initializer list in function prototype, works fine inside function definition

860258

BFG10K

C++ application crash when adding custom objects to std::vector

785182

BillKrat

[MoCOM] cppunittest.h(443): fatal error C1001: An internal error has occurred in the compiler.

820871

bmw67

Internal compiler error in debug build

1169570

Bob Arnson

VC++14 CTP6 #pragma data_seg fails to generate section

1218804

BobAutodesk

[SBC] crash unwinding stack when throwing from a constructor

1234583

bogdan i

VC14 CTP6 doesn’t support extending the explicitly specified argument list for a parameter pack with deduced arguments

1258385

bogdan i

VC14 CTP6 doesn’t implement DR1579 for id-expressions in return statements

1148712

bogdan i

VC14 CTP6 doesn’t compile well-formed initializer for template static data member

1125066

bogdan i

VC14 CTP5 crashes when compiling function taking std::index_sequence parameter

1125164

bogdan i

VC14 CTP5 – strange behaviour when using constexpr function

1125325

bogdan i

VC14 CTP5 – some problems with pack expansions

1125416

bogdan i

VC14 CTP5 – specialization with a variadic template template parameter not matched

1439472

Bogdan.M

Internal Compiler Error

828354

Bonial1

[neg][/Gm] Visual C++: C1001 when accessing methods of default template argument dependent on other template argument

774490

Brandon Kentel

CTP Variadic templates and catch(…)

1043331

brebrebrebreberbr3e

VC INTERNAL COMPILER ERROR

921976

brettbjackson

Static initialization of maps incorrectly parsed on unsupported

1085821

BRIAN_____

Internal compiler error with placement new using postfix operator

937959

Bruce Dawson

VC++ preprocessor mangles raw strings

933079

Bruce Dawson

C++ 11 multi-line string constants in macros cause error/warning message line numbers to be way off

799869

Bruce Dawson

[missing diag] Detection of format string errors should be part of the regular C++ compile instead of /analyze

799873

Bruce Dawson

Detection of variable shadowing should be part of the regular C++ compile instead of /analyze

816729

Bruce Dawson

VS 2013 compiler crash

877632

Bruce Dawson

[neg] Internal compiler error in six lines of code

1074095

Bruce Dawson2

Compiler accepts and misinterprets invalid variadic template usage

1106363

Bruce Dawson2

Internal compiler error with /analyze due to failure to infer ‘move’

1236287

Bruno Martinez

C++ ICE with default contructed enum

793506

Bruno Martinez

[value init] C++ base without constructor not initialized

916676

Bryan asdf

Undeclared identifier template argument

978809

btrigg

Compiler fails to deduce template arguments when partially specified for a variadic template.

968652

camhusmj38

[constexpr]: Internal Compiler Error when evaluating Constexpr

808767

carstenh_in

[milan][initlist] Internal compiler error when compiling C++

808130

Cassio Neri

[milan][template alias] Alias template issue involving non-type template parameter and two levels of template aliasing.

808132

Cassio Neri

std::is_*constructible<T>::value == true for abstract classes.

808135

Cassio Neri

Normal function defines a declared-only template function.

1002136

cc170

Internal compiler error C1001 when upgrading to VS14 CTP4

800121

cg31

fatal error C1001: An internal error has occurred in the compiler – while compiling Qt5

977990

ChaosDev

[neg] (VS2014_CTP3)C++ compiler crash when invalid function declaration is in code

1008573

Chardrazle

Function template fails equality with enumerations in SFINAE context

1161959

Chardrazle

Optimization of initializer_list<> of base pointers results in invalid code

976256

chengengxin

discrete_distribution (InputIterator first, InputIterator last); Couldn’t compile

965860

chenshifeng

Assertion failed: !lambdaStack.empty()

1009552

ChocoNutDancer

VS2014 RC4 Compiler Crash

1293084

Chris Becker

cl.exe hangs during compile

894312

chyvonomys

C2244 when declaration and definition template parameters don’t match.

1015681

Ciechowoj

[C++11] A problem with variadic templates.

1010149

ckline

C++: optimization causes ‘delete’ function qualifier to be ignored, allowing invalid C++ code to compile and run

791939

Cleroth

[milan] Issues with initializer lists (including compiler crash)

960021

CodeAngry

VC++ compile fails for std::pair<int, std::vector<std::unique_ptr<int>>> in CTP 2013.

1190973

ConnectAnonymousUser

*Internal compiler error in C++ x64 compiler when optimisation enabled when awaiting a class that always returns false from both await_ready() and await_suspend()

967977

Constructor7777

Non-static enum data member uniform initialization syntax causes an internal compiler error in VS2013

1098326

Constructor7777

C++11 syntax of a default function argument leads to a run-time crash of a program

1089987

CornedBee

Incorrect template parameter deduction for std::initializer_list<T> parameters

1040892

CornedBee

C++: Incorrect access check while expanding variadic expansion pack.

1029677

CornedBee

C++ – Template Aliases are expanded before Variadic Packs

1032604

CornedBee

False C4100 “unreferenced formal parameter” in Boost.ConceptCheck

1121539

CornedBee

C++ compiler gets confused by complex nested alias templates

1121596

CornedBee

Mistyped template template parameter gives horrible error message

1372626

CornedBee

Template aliases change overload resolution

1356181

CornedBee

Regression: Incorrect error: “parameter pack must be expanded in this context”

1275880

craffael

Visual C++ has problem with template template parameter

1275899

craffael

Visual c++ with variadic templates for integer compile time constants fails to compile

811855

Crescens2k

Internal compiler error when compiling a template class with an alias template as the base.

1019895

cstamatopoulos

Internal Compiler error

808084

D. Golub

Internal compiler error caused by friend of template class in namespace

808089

D. Golub

[neg] Internal compiler error when using argument-dependent lookup on std::make_pair

802160

d.major

[value init] VC++ does not zero-initialize an object during value-initialization when a sub-member has a user-provided constructor

822893

dalibor.frivaldsky

C1001: Internal compiler error when working with member function pointers as template arguments

1029542

dalibor.frivaldsky

Visual C++ unable to deduce type of instantiated member function template

774153

Daniel Kr.1

[Codename Milan] [init_list] Missing <initializer_list> include causes compiler crash

816754

Darinth

Internal Compiler Error caused by a combination of a temporary variable and empty initializer_list being used to call a function.

973916

Dariooli

std::unique_ptr move constructor skipped by SFINAE

870694

Darkhack

VC++: Constructing variadic base classes with a lambda type results to C2059

1027543

Darran Rowe

Internal compiler error when compiling variadic templates with dependant types.

850834

DaveRobAtSepura

C1083 compilation fails to open include file from network drive (VS2013 only; VS2012 is OK)

884836

David Demelier

Visual Studio 2013 wants to use copy constructor when using std::move

1223170

David Lowndes

False C6001 generated for struct usage

1216889

David Lowndes

GdiplusBitmap.h Win8.1 SDK header generates C4458 warnings

1219606

David Majnemer

std::__GetExceptionInfo crashes MSVC 2015 when given an incomplete type

1234814

David Majnemer

MSVC 2015 incorrectly rejects template instantiation with conversion operator parameter

1181174

David Majnemer

Bitfield initialized with non-constant initializer is never initialized

1120882

David Majnemer

~decltype(auto) void declaration crashes the compiler

1159957

David Majnemer

Copy constructor with ellipsis not called

1171114

David Majnemer

MSVC crashes while generating default constructor closure

1171122

David Majnemer

MSVC spuriously diagnoses an error regarding multiple declarations/definitions where none exists

1358355

David Majnemer

MSVC 2015 hits internal compiler error on valid initializer list

1339922

David Majnemer

MSVC 2015 incorrectly rejects assigning pointer-to-function returning auto to auto variable

1033831

David Majnemer

MSVC crashes when ‘this’ referenced inside of a lambda inside a non-member function

1004350

David Majnemer

[template alias] MSVC “14” crashes during class template instantiation with void template argument

992525

David Majnemer

VS “14” constructs thread_local variable after its first ODR use

969783

David Majnemer

MSVC “14” does not support deleted, covariant, virtual functions when inheriting from virtual bases

941015

David Majnemer

MSVC should accept ref-qualifiers and cv-qualifier-seq on the type-id of a template-argument for a type-parameter

944177

David Majnemer

MSVC “14” crashes when decltype is given a function type

894232

David Majnemer

MSVC miscompiles code involving static variables with the same name inside inline functions

894255

David Majnemer

MSVC miscompiles code involving unnamed classes with virtual functions

895130

David Majnemer

[neg] MSVC crashes when given code which dereferences a pointer to data member of an incomplete type

897704

David Majnemer

MSVC “14” miscompiles code involving template aliases

911967

David Majnemer

MSVC 2013 Update 2 miscompiles lambdas

938029

David Majnemer

[ConnectCrash] VS “14” crashes when compiling an instantiation of an alias template

938294

David Majnemer

VS “14” compiler crashes when instantiating function template which has a type template parameter pack

1023049

David Sankel

Regression:Visual Studio “14” CTP C++ specialized result template regression

844770

davidmstone

[RWCICE] C++ nested lambda fails to properly capture `this`

1051667

DBZZ

compiler crash in old C program

858243

dcookie

C++/CLI compiler error trying to std::move a std::unique_ptr to parameter taken by value

807583

DeadMG

Constructor SFINAE’s out even when condition is true.

808270

Debugini

[regression] wrong this pointer in member function

809961

Debugini

[C++] Wrong pointer to member conversion to bool from template argument

791137

Debugini

[milan][initlist] initializer_list handling broken, destructors of temporary objects called twice

892956

Debugini

VS “14” CTP: internal compiler error on nested boost::bind

893813

Debugini

VS “14” CTP: internal compiler error when compiling boost serialization

939366

Debugini

explicit operator bool is not respected in constructor calls

919678

Debugini

VS “14” CTP2: VC\include\xmemory0(942): fatal error C1001: An internal error has occurred in the compiler

1219894

Debugini

Titel

1215817

Debugini

Compiler endless run

1022175

demianmnave

VS2013 ICE when using std::common_type<> in trailing return type declaration of forward-declared template function.

1123255

desert_dragon

Broken C++ CRT global initializers order (_pwctype)

1375217

desert_dragon

[C++] Internal Compiler Error on friend lambda

800746

Dev Alex B

using Base::operator() causing ICE when Base is a lambda type

800738

Dev Alex B

[milan] [variadics] Internal compiler error (ICE) when returning value using uniform initialization

1052029

Devils9curse

A strange behavior of std::is_copy_constructible

935481

Devin Doucette

Unused return value causes “use of undefined type” error for a reference to a declared but undefined type

800211

dgallo

Internal compiler error with QT libraries

861824

dieletztereise

Breakpoint triggering bug in C++ code

1274954

Dieter Gottwald

Wrong template deduction in variadic templates

813845

diltsman

static const int member declaration treated as definition

1030972

Display Name61

C++ compiler bug: do-while loop inside backetless for-range loop isn’t parsed correctly

880041

Dmitri R. Kuvshinov

[neg][template alias] C++ compiler crash on a code with default template parameter value in using declaration

1225911

dmitry.zakablukov

Fatal error C1001 while compiling code with c++11 features

1026708

Dmtriy

//c++11 alingas/constexpr bug

1015579

Dmtriy

C++11 using inherited constructor bug

1029815

dn357

False “error C2100: illegal indirection” Error With Nested Lambda in VS2015 Preview

1040926

dn357

False compiler error C2975 with constexpr function

1289741

dn357

False error C2248 when using ‘_t’ type traits

1173171

dn357

Can’t compile valid code containing a template and a nested template with a forwarding ctor

807284

Domagoj Šarić

[MSVC] Remove redundant null pointer checks

805547

Domagoj Šarić

[MSVC] Support __declspec( align( x ) ) with template parameters

1079589

DontOwnAName

C++ 11 Alias Template + Functions Issue

1102935

DontOwnAName

Complex template code causes Internal Compiler Error

1191556

ducklmg

constexpr with const wchar_t* error

1348351

dzenjunkie

Instatntiation of template friend function from lambda

860275

efg0701

Compile failure passing an array by const reference to a template function

808494

EMPeek

VS2013 C++ compiler crash on default argument struct containing XMFLOAT4X4

808506

EMPeek

[NSDMI + Unnamed Unions][milan]NSDMI silently ignored on nested anonymous classes and structs

927998

Endre Oma

C++: Variadic templates and static method definitions outside class declaration

1003737

Enno Cramer

std::is_copy_assignable/std::is_move_assignable generate compiler error when used on class with operator= deleted through inheritance

820976

equackenbush

[neg] C1001 error for invalid reference initalization

804900

Eric Lengyel

ICE when final keyword used in C++ template specialization inside namespace

1299817

Erik Olofsson

[Regression] Specializing template with aliased template class

1292020

Euclid

fatal error C1001: An internal error has occurred in the compiler.

846103

Evan McCorkle

[neg] C++ C1001 related to grammar.y (L6171)

849538

Evgeny Panasyuk

MSVC 2013 Internal Compiler Error on Eigen library

862959

Expandable

C++: Parameter pack expansion fails

804687

Expandable

C++ program behaves differently compared to both gcc and clang

873989

Fabio Fracassi (TC)

ICE on template specialization

872124

fafdadfafa

Compile Error : template method SFINAE(enable_if_t) in template class

1300363

fafdadfafa

[constexpr] C++ Compile Error : unnamed union + constexpr

917875

Feheren Fekete

Visual Studio 2013 Update 2, C++11: Value and aggregate initialization error.

811483

Feindflug

[milan][variadics] fatal error C1001: Interner Compilerfehler. (variadic templates)

811306

Felix Petriconi

Bogus C3520 error with boost fusion

1098979

Felix Petriconi

Compiler fails variadic template expansion inside initializer list

1006520

Francis ANDRE

fatal error C1001: Internal compiler error @msc1.cpp, line 1325

966672

Francis ANDRE

cl version 18.00.30723 pour x86 fails to compile a valid c++ program

813356

Frank Heimes

Range-based for breaks C++ syntax rule

1286946

Frank Hippmann

Aliasing a function definition

1230353

Frank Hippmann

Lambda capture of variadic arguments in constructor initialization list

907251

Frankbuq

C++ Initialization Bug

1027404

Fritz1985

Internal Compiler Error C1001 with Variadic Templates

1318518

frostiebek

fatal error C1001: ‘msc1.cpp’, line 1363 while compiling C++ program

1052580

Functional Programmer

Auto with braced-init-lists

847690

GameDev Aaron Cole

[Generic Lambda] : ICE (Internal Compiler Error) when partially specialization of template with variadic arguments

1149790

Gareth S-B

Unexpected compiler error C2068: illegal use of overloaded function. Missing argument list?

955411

gigimava

[decltype + local class] decltype uses the wrong context in trailing return types of classes defined inside functions

817157

Gonzalo Matamala

Compiling Internal error whith conditional expression and default constructor (brace initialized) of a class with explicit destructor

817284

Gonzalo Matamala

initializer_list: when created from derived types, destructor of some of the temporary are called twice, while other are missed.

1171389

GreenCat

static std::map initialized with initializer_list cause C1001

970693

Greg Domzalski

[NSDMI + Lambda] NSDMI fails when instantiating a template class taking two lambdas in its constructor

938948

greuben

[NSDMI] VS2013 C++11 incorrect compiler error using a pointer-to-member in an brace-or-equal initializer expression for non-static data members

829948

greuben

Erroneous VS2013 compiler error with externs outside of lambdas

816326

greuben

Compiler crash calling functions with a format string and variadic args using a symbol that doesn’t exist

807610

Grzego

[milan][initlist] First element of vector is destroyed (initializing from using initializer_list).

983238

halpierson

Array initialization in class definition produces a compiler error

1033678

Hamdor

Internal Compiler Error MSB6006

1137252

Hamdor

Internal compiler error while iterate over constexpr string

817008

Hans Bos

Internal compiler error c1001

1272948

Hendrik Wagenaar

Warning C4258 on out of scope variable

812364

herumi

a fatal error for a template friend function with __forceinline on Visual Studio 2013

794726

herumi

__FUNCSIG__ does not contain a space between __vectorcall and function name

807117

hhoppe

[Next] VS2013 C++ parsing error within range-based for loop

806017

hhoppe

[milan][variadics] C++: internal compiler error: variadic perfect forwarding to base class

1023905

Hooverstein

Error while unpacking nested parameter packs

1023931

Hooverstein

Internal compiler error when returning generic lambda from templated function

1020614

Hooverstein

Compiler does not recognize captured parameter pack inside generic lambdas

946142

Hooverstein

Templated using alias causes internal compiler error in VS2013 Update 3

1145087

Hooverstein

Internal compiler error encountered with template recursions

1101438

hypot

C++14 deduced return type functions in template classes can’t be bound to

817162

Ian Hobson

[Torino] Possible compiler bug found when inserting a temporary shared pointer into a vector

934161

Igor Mironchik

Wrong uniform initialization of struct with std::function with lambda with capture list as member

809111

Igor Sh1

fatal error C1001: An internal error has occurred in the compiler. While compiling managed C++

1098680

Igor Stauder SAP

Microsoft Visual C++ 2015 CTP

926927

ihameed

Internal compiler errors when inheriting from closure environments

995550

ihameed

Datatypes (with compiler-generated copy constructors) that have members with non-trivial copy constructors are sometimes trivially copied

816917

ijprest

Visual C++ 2013 Update 1 — Internal Compiler Error

1371784

ildjarn

Erroneous bug with noexcept operator and generic lambda

800391

ilpropheta

[value init] Uniform initialization & =default generate a “uninitialized local variable used” error

805981

inb4

(MSVC 2013) C99 Designated Initializers cannot initialize unions within structs.

1046918

ioriyagami

MSVC compiler version 19.00.22318 bug with SFINAE

808058

i-photon

[milan][template alias] Crash when processing simple variadic template alias expression

853313

Ivan Sorokin

[neg] MSVC incorrectly allows conversion from string-literal to void*

883288

Ivan Sorokin

[neg] internal compiler error on incorrect code

928631

Ivan Sorokin

internal compiler error in MSVC2013

816038

ixSci

Lambda capture list fails to accept function pointer

776111

ixSci

template parameter pack doesn’t get expanded when it should

1312202

J.P. Grossman

Parameter pack expansion of the form Types::type… fails in some contexts

941644

JaguarIV

Incorrect namespace lookup

1023608

Jalf1

is_pod does not allow user-defined constructors

1038465

Jalf1

extern template instantiates class templates

949883

James Whitworth

Cannot call std::bind on a member function from within a lambda

939783

James Whitworth

[Torino] Recursive constexpr calls generate warning C4647 : call to undefined ‘constexpr’ function results in a non-constant expression

957313

Jan J. Janssen

MSVC 2013 compiler crashes when an enum is wrongly forward-declared as struct

1108585

Jan_0xcaf4f00d

CL.exe crashes when using attribute syntax to generate typelib

955290

JanBaan

VS2013 crashes on souorce with enable_if

870953

janhec

[initlist] crash using default function parameter

807537

Jason Wilkins

[Next][milan][variadics] Template Specialization on Variadic Function Arguments

882652

JasonStern

fatal error C1001: An internal error has occurred in the compiler.

1126958

Javier Blazquez

Error in template parameter pack expansion of std::index_sequence

1044426

jcnhal

Debugging c++ constructor with c++11 member initialization problem

841488

jdberger

[delegate ctor] Virtual inheritance is broken when using constructor chaining

1021548

Jeramy Harrison

C++: Internal compiler error.

807966

jgeoslopep

[milan][initlist] std::unordered_map<> initialization with operator= and initializer list when value type is vector causes memory leak

802151

jgeoslopep

Anonymous Enums not working consistently with decltype and typedef

892330

JianHua Huang

Static variables within different lambda expression but with the same name incurs error LNK1179

841190

jijik111

[neg] Templated cast operator crash

793537

Jim Barry

[value init] Value-initialization leaves built-in types uninitialized

814000

Jim Dovey

ICE compiling recursive template (C++17 integer_sequence implementation)

855381

Jim Michaels

on intel 64-bit host, VS2013\VC\bin\amd64_x86\cl.exe errors cl0xc000007b

1045933

Jinhao.CPP

No implicitly-declared move constructor is generated.

801795

JL SLO

[regression] System::Runtime::Serialization::XsdDataContractExporter::CanExport() broken for C++/CLI in VS2013 when using Trivial Properties?

840000

JobM

Visual Studio 2012 compiler bug

1266399

JobM

valid code failing to compile

955546

Joe Marlow

thread_local support in VS14 CTP3 is incomplete

800743

Joel Lamotte

[milan] Internal error when compiling wrong variadic template use in std::function template arguments

1005696

Joël R. Langlois

Bug, VS2014 CTP 4, C++: Cannot compile JUCE framework due to compiler crash

1029942

Joël R. Langlois

VS2015 Preview, C++: Cannot compile JUCE framework due to compiler crash

1011698

Johan Råde

Eigen does not compile

882651

John Peteze

c++11 Language Error, list-initialization of a non-static member issue

812488

Johnny Willemsen

Code using static const expr doesn’t compil

812497

Johnny Willemsen

Internal compiler error when using C++11 with CTP Nov 2013

800287

Johnny Willemsen

Problem using C++11 move semantics with default

1092595

Johnny Willemsen

Internal compiler error in msc1.cpp line 1369

1093088

Johnny Willemsen

Internal compiler error in ehexcept.c’, line 1012

894909

Johnny Willemsen

static data members of literal type cannot be initialized within the class definition

1307662

Johnny Willemsen

Problem using constrexp, uniform initialization, and dllimport

1095848

Jorge Manuel Esteves da Costa

c++ compiler cannot understand initialazer list anymore – working fine in previews preview – works fine in clang and intel compiler

805360

Joseph Miller

[regression] Error C1081 encountered in VS2013 Preview C++ compiler, but not encountered in earlier C++ compilers

808868

Joshua Knutson

Friend Declaration Not Applied Correctly to Inner Class

1045946

jotse

Build error happens when we try to define a class member outside a class which in turn is part of a template class on VS2014 CTP.

1087858

jschroedl

Warning C4456 Issued for nested for each loops in C++/CLI

828772

jsouthwell

Error C1001 in cxxfe\sl\p1\c\trees.h, line 712 compiling nested stl static initializers with nested struct initializers

1085387

jujjyl

Compiler fails to locate a symbol in unnamed namespace when looking up with the :: operator.

921792

Jussi Knuuttila

Visual C++ 2013 refuses to compile a variadic template specialization, if the template is nested within a variadic class template.

804642

justmytuppence

Possible preprocessor problem in cl12 RC (VS 2013 RC): build success depends on editing “irrelevant” preprocessor instruction

1015183

K Abhiram

Initializing class variable with dynamic memory initialized to 0 crashing C++11 compiler

805330

Kaba Zaoshi

[milan][initlist]Program crashes without intermediate object

829688

Kaba_

Incomplete inner classes of a template class raise ‘use of undefined type’ (revived)

925205

Kaba_

Initializer list ambiguates in a really weird way

915415

Kaba_

Internal compiler error for decltype(auto)

915427

Kaba_

decltype(auto) in a member function

913268

Kaba_

Internal compiler error for a function template default type

999509

Kaba_

Compiler crash with alias templates

1341946

Kaba_

Alias templates fail with parameter pack expansion

1344572

Kaba_

SFINAE constraint with a parameter pack

1335160

Kaba_

Compiler crash with decltype

1380848

Kaba_

Constexpr function with uniform initialization return

1182851

Kaba_

Compiler confuses namespaces

1184840

Kaba_

Simple compiler crash

1198882

Kaba_

Compiler crash with variadic templates

1206235

Kaba_

SFINAE overloading bug

1081239

kajalakaja

VC++(2015 Preview) Unnamed struct + NSDMI Bug

919721

Kamil Witecki

Static variables with same name inside lambda functions produce conflicting COMDAT

1008261

kantos

C++ compiler incorrectly interprets result of cast as lvalue not rvalue per standard

811968

KapilKapre

c++11 lambda type allows default construction

809591

karigrano

Visual Studio 2013 fails to compile friend declaration for a namespace template function

1146783

Kartonagnick

illegal successful compilation

800254

K-ballo

[milan][variadics] sizeof… always returns 1 within variadic template alias

940824

K-ballo

Preprocessor conditional inclusion fails with true or false

914574

K-ballo

Incorrect overload resolution with inherited op()s

959817

K-ballo

Erroneous access checks in default template argument

960077

K-ballo

decltype gives wrong type for member-object pointer access

875509

Keith’s MS profile

Internal compiler error when using template aliases

880004

Kenshi Takayama

C1001 with a simple function template returning Eigen::Matrix

846332

Kenshi Takayama

[Torino] Typename overlap in derived class

1038318

Kenshi Takayama

C2668 and C2899 with class template deriving from template argument

1038336

Kenshi Takayama

C2668 with lambda inside member function of class template deriving from template argument

1029565

Kenshi Takayama

error C2280 when using Eigen::ColPivHouseholderQR

811291

Kerim Borchaev

C++ standard library leaks memory in Debug build when using map/string and initializer lists

811295

Kerim Borchaev

C++ initializer_list for vector and string – nested initializer lists with vectors and strings fail to pass correctly constructed objects up the hierarchy

1118298

Kevin Puetz

Internal compiler error with alias template

877130

Kirill Berezin

Using unexpected behaviour on C++ CP 2013

1037783

Kohei Takahashi

unary-ctor call v.s. variable decl.

814689

Kristen Wegner CA

[neg] Compiler Fails with Internal Error

1185955

L Baker

*Assembly generated by C++ compiler for optimised x64 builds ignores return value from bool-returning await_suspend() functions called from __await expression

1374484

L Baker

Internal compiler error in C++ compiler when building with /await /Os

806196

Lars Rosenboom, Bremen

C++: Error C2794 when explicitly instantiating a function template overload of std::ceil (related to enable_if, SFINAE)

789739

lasram

static assertion failure in c++ with v120_CTP_Nov2012

987260

lasram

Alias templates: C++11 tuple of reference_wrapper situation

1217756

laurence.mcglashan

Windows compilation error – error C2752 : more than one partial specialization matches the template argument list

1047741

Laurent Noel

Compiler crashes on partial template specialization with Eigen math library

813831

ldelaet

Matching static symbols in different namespaces in same cpp file get switched in watch window

811603

Lee, Pedro

Weird behavior of std::enable_if<T> produces C2995 in Visual C++.

1031433

legalize

Can’t create a raw string literal with embedded newlines

1030582

legalize

Inline lambda not parsed correctly.

1174202

leo.hawke

Visual C++ Complier (parameter pack expanded )

808209

Lewis Pringle

[milan][default/delete] poor diagnostic from C++ compiler – vs2k13 C++

845159

liveacc32

Uniform initialization fails on std::map with struct with string vector member as value

988442

lluo

Visual C++ 14 CTP3: c++11 inheriting constructor bug?

862397

LonC

[ConnectCrash] Compiler crashes on use of aliased templated nested class name

1437340

LotB

C++ compiler internal error when expanding empty parameter pack into array braces

1185272

lpszTemp

Visual C++: Alias templates and decltype.

955771

lpszTemp

MS C compiler: Initializing a structure field, which is also a structure, with a value returned by a function.

806722

LSS_NorthWind

[Lambda] VS2012/2010: CL fails compile if lambda function is defined within a call to operator[] inside of a template definition

807614

m_pDecimad

[Next] VC++ 2013 doesn’t accept nullptr as default value for member function pointer template argument

791893

mael_storm

[milan] Variadic template expansion causes internal compiler error

865619

mael_storm

2013 November CTP: braced-init list internal error

809738

malderror

C++ internal compiler error, when using brace init

775492

Malte Skarupke

[Codename Milan] Using a name with a variadic template inside template<> brackets doesn’t work

1164052

manus_eiffel

Internal C compiler error in msc1.cpp line 1325

813307

Marc Gregoire

[neg] Internal compiler error

1175102

Marcel K,

[C++] Compiler crashes when using noexcept with friend or an empty expression

1237221

Marcel K,

[C++] Compiler crashes on lambda returning a struct containing a struct with user defined destructor

1147113

Marcel Raad

VC++14 CTP6: ICE in Boost.Config test

1147125

Marcel Raad

VC++14 CTP6: compiler crash with std::unique_ptr

1147196

Marcel Raad

[constexpr] VC++14 CTP6: constexpr conversion operator not implicitly called

1150054

Marcel Raad

VC++14 CTP6: templated explicit conversion operators broken

1102224

Marcel Raad

VC14 CTP5: Warning C4571 cannot be suppressed

1312059

Marcel Raad

VC++ 14 RC: constexpr function doesn’t compile

1349950

Marcel Raad

VC14 RC: ICE when returning aggregate-initialized struct

806150

Marcel Raad

[milan][variadics] VC++12: variadic template function preferred over non-variadic template function

915061

Marcel Raad

[RWCICE][boost] VC12 Update 3 RC: Boost 1.56 compiler crash

910264

Marcel Raad

VC14: Boost.Spirit include crashes compiler

905526

Marcel Raad

VC12.2 Compiler crash using boost::bind

1007225

Marcel Raad

VC14 CTP4: Boost.Assign broken

1133292

Marcin Kolny

[C++] internal compiler error for returned initializer lists

913454

Marco Jacques

Invalid compiler error on type casts using r-values for overloaded function

875498

Marcop456

[regression][template alias] C++ compile fails after upgrading to Visual Studio 2013 Update 2

807716

Mariusz102102

[milan][initlist] An internal error has occurred in the compiler – boot unit test

1218131

Mark Ingram (Work)

C++/CLI Forward declarations of unmanaged enum class after actual declaration results in enum being treated as managed

1291594

Mark Ingram (Work)

Regression:Unable to create singleton using stack semantics with C++/CLI

814697

Mark T_

First element of vector is destroyed (initializing from initializer_list)

1033902

Mark W. Wiebe

ICE when multiple variadic packs are unpacked for base class initialization

1034062

Mark W. Wiebe

Compiler error in simple variadic function wrapper

1045397

Mark W. Wiebe

Recursive variadic template metaprogram ICE when pack gets to empty size

1051758

Mark W. Wiebe

Error when passing function pointer as template argument in some contexts

1200294

Mark W. Wiebe

Code with two levels of alias templates and variadic packs fails to compile

1127375

Mark W. Wiebe

types within adjacent variadic template packs get rearranged, valid code fails to compile

1017046

marten_range

C++14: Nested auto lambda produces unexpected compiler error.

844864

marten_range

Initializing hierarchical maps using initializers crashes

799458

MartijnJs

do { … } while(0) in range-based for loop syntax error

808469

Martin Storsjö

C compiler unable to initialize arrays of structs

915230

Martinho Fernandes

Inheriting ctors are hogging the syntax

813595

MASnelling

[regression] C++ preprocessor incorrectly handling ‘L’ character

807722

MathieuPOUX

[Next][milan][delegating ctor] Visual Studio 2013, C++11 Constructor delegation and virtual diamond inheritance error

819202

Matt Lindner

std::is_assignable and std::is_constructible give wrong value for deleted members

835690

Matt.Horn

Potential bug with containers of pairs/tuples containing smart pointers

802296

Matthias Bretschneider

Large Tlb causes C2556 (wrong enum identifier are generated – contains extraneous “m”) –> Same error as fixed for VS 2010 a year ago, but now in VS 2012

812285

Maurizio de Pascale

VS13 Internal Compiler Error

1112787

Max Khizhinsky

C++11 noexcept expression and operator()

927068

Maxim Yurchuk

MSVC bug in Koenig-lookup (compiler doesn’t find appropriate overload for function)

1286002

Maxime VN

unique_ptr of a private class fails to compile if the operator delete or an explicit dtor is provided

1218626

Maximilian Burke

Visual Studio 2015 CTP 6 internal compiler error with unicode strings

1082174

MAXON Computer

Compile fails

1085592

MAXON Computer

Conversion operator does not work properly

1085607

MAXON Computer

Operator Access within lambda fails

1085306

MAXON Computer

[neg] (Incomplete) Code physically crashes compiler

1003585

Mdg8

Brace initialization with new array only initializing one byte to zero

809785

Me_Fortune

Maybe a vs2013 C++ compiler bug when i use the C11 uniform initialization when pass function parameter

941605

MediaLab, FHWS

ICE in template specialization with default arguments

808960

Mefi S

[milan][initlist] std::pair + uniform initialization == linker crash

915108

Mehdi Boss

Error in using std::enable_if with variadic templates

912842

MetaBarj0

BUG – C++11 – Temporaries forwarding not performed correctly

989673

mibintc

[constexpr] internal error

1044210

Michael Winterberg

c++ C4458 declaration hides class member warning issues

1020120

Michael Winterberg

<array> _Swap_adl compile error if a std::array parameter is a default value

1028931

Michael Winterberg

C Internal Compiler Error when including <windows.h>

809653

Michael Winterberg

[Torino][constexpr] Compiler errors with template constexpr functions called from lambda expressions

884350

Michael Winterberg

[torino] internal compiler error when taking the address of a parenthesized constant floating point variable

808441

Michał Wawrzyniec Urbańczyk

ICE when using uniform initialization

801828

Michał Wawrzyniec Urbańczyk

[milan][variadics] C2143 error when compiling variadic templates

1353636

Michał Wawrzyniec Urbańczyk

Non-static data member initializers fails with std::map<> on assignment right side

1353789

Michał Wawrzyniec Urbańczyk

unexpected end-of-file found from lambda when boost is included

1355834

Michał Wawrzyniec Urbańczyk

Regression: braced-init-list failure in previously working code

1213709

Michele Bertasi

Compiler crash with variadic templates and explicit instantiations

1027975

midonet

To many references

889548

Mike Danes

Conversion from unsigned short to long is wrongly classified as narrowing

807081

Mike Enslin

C++ Allows redefinition in for loop, which leads to variable appearing twice in Locals and not updating in Watch and Autos

1115056

mikhail.matrosov

Cannot capture function reference by value

802667

mikhailsemenov

[milan][variadics] Visual C++ fatal error C1001

1014390

Miro Jakubovsky

Compiler crashes on certain empty static const array

1107177

Misley

(VS 2015 CTP 5 C++) Wrong vtable of unnamed classes, compilation erroneously yields C2369 under certain circumstances

1356667

mloskot

Self-referencing typedef of anonymous struct

1014050

mnewport

std::vector errors instantiating with an allocator that defines a custom pointer type

976220

mnewport

Variadic template expansion bug: compiler fails to expand parameter pack for code that compiles with clang and gcc

774522

Mogens Hansen

error C1001: An internal error has occured in the compiler

794879

Mogens Hansen

error C1001: An internal error has occurred in the compiler.

1291071

Mogens Hansen

C++ Compiler crash

1322217

Mr. Wonko

C++ Compiler bug: returning aggregate initialization leaks when combined with move construction

890917

mutouyun

Visual Studio 2013: fatal error C1001 with namespace + using

913047

mutouyun

Visual Studio 2013 compiler error with alias templates + decltype + inner type

1277173

Mykhailo Saienko

Error text misleading when compiling with partially-specialized std::hash

1208651

Mykola Bogdiuk

C++ compiler: C1001 when moving auto-parametrized lambda to heap

984924

Mykola Bogdiuk

[neg] C1001 instead of “a pointer to a bound function may only be used to call the function”

1017712

Mykola Bogdiuk

C++ compiler: C1001 if variable is initialized in a capture clause and then outer template arguments are used in a lambda

1042748

Mykola Bogdiuk

[neg] C++ compiler: C1001 when having a wrong default template argument value

1163352

Nayana_Adassuriya

Lambda warning

1349409

NickNek

C++ Standard Constructor Call Produces Stack Corruption

1349446

NickNek

MSVC 2015 RC – C++ Standard Constructor Call Calls Initializer List Constructor

1198340

Nickolay Merkin

Internal compiler error (C++ compiler 19.00.22620(x86))

1184458

Nickolay Merkin

MSVC compiler bug: template alias is treated as instantiated class

1094474

Nicola.udine

C++ compiler… an unexpected bug on template cast operator

1010238

Nicolas SF

C++ compiler internal error

904930

Niels Dekker

[C++] fatal error C1001, internal error (compiler file ‘convert.cpp’), value-initializing a temporary function pointer by an empty initializer-list

895697

Niels Dekker

[C++] fatal error C1001 (internal error, p2symtab.c line 2681) when function parameter has nested initializer-list as default argument

893730

Niels Dekker

Buffer overrun (C4789) when using non-empty initializer-list as default argument

890404

Niels Dekker

[C++] MSDN documentation on compiler warning C4345 (“behavior change”) does not apply to Visual Studio 2013

812190

Niels Dekker

Class member access to temporary list-initialized aggregate should not trigger Visual C++ warning C4832, “token ‘.’ is illegal after UDT”

811454

Niels Dekker

Visual C++ static_assert on enum inside template fails (error C2338) when Code Analysis (/analyze) is enabled

1121519

Niels Dekker

[C++] Incorrect error message, “error C2440: ‘<function-style-cast>’: cannot convert from ‘initializer-list’ to ‘Foo’, note: Source or target has incomplete type”

807999

Nikita Konyuchenko

VS2013 doesn’t guarantee therad safety for scoped variables with the static storage duration.

853275

njoubert1

Template alias behaviour not as expected

1020549

njoubert1

Moving a std::packaged_task<void()>

1076445

NTAuthy

Template substitution based on lambda return type fails when called from a lambda (could not deduce template argument for ‘<unnamed-symbol>’)

1251938

nverhoe

Internal compiler error for this

922766

OetkerMD

[template alias] VC++ 2013: ‘cannot access private member declared in class’ on ‘using’ declaration

1241899

Oggysobe

Visaul C++ ICE with templates and initializer_list

976983

Olaf vander Spek

shlobj.h(1054): warning C4091: ‘typedef ‘: ignored on left of ‘tagGPFIDL_FLAGS’ when no variable is declared

774715

Olaf vander Spek

LLU suffix not recognized

752402

Olaf vander Spek

Wrong code gen

877912

Oleg Maximenko

[neg][VC++] fatal error C1001: An internal error has occurred in the compiler.

930249

Oliver Tatton-Brown

Compiler error when returning a pair copnsiting of an int and a set of ints

944592

Olivier4242

Lambda / typedef: Invalid “this” capture