Closed Quuxplusone closed 9 years ago
Attached clang-crash.cpp
(93 bytes, application/octet-stream): The testcase.
When I compile on Windows (MSVC, x86, Debug) with ToT (r234484), I get:
E:\llvm\2013>clang -fsyntax-only "E:\Aaron Ballman\Desktop\clang-crash.cpp"
E:\Aaron Ballman\Desktop\clang-crash.cpp:4:17: error: use of undeclared
identifier 'e'
for(auto&& x : e){
^
Assertion failed: !A->getDeducedType().isNull() && "cannot request the size of a
n undeduced or dependent auto type", file E:\llvm\llvm\tools\clang\lib\AST\ASTCo
ntext.cpp, line 1708
0x017280B9 (0x00000016 0x55C1A1F1 0x06229F48 0x06229D6C), HandleAbort() + 0x9 by
tes(s), e:\llvm\llvm\lib\support\windows\signals.inc, line 290
0x0FBFF7F9 (0x00000016 0x017280B0 0x06229D58 0x0FBF9AC4), raise() + 0x2B9 bytes(
s)
0x0FC0B284 (0x06229F48 0x06229D6C 0x000000B5 0xCCCCCCCC), abort() + 0x34 bytes(s
)
0x0FBF9AC4 (0x051B2258 0x051B21F8 0x000006AC 0x06229F98), _wassert() + 0xD4 byte
s(s)
0x0339EDBF (0x06229F70 0x08416D70 0x06229FDC 0x080EA7C8), clang::ASTContext::get
TypeInfoImpl() + 0xDDF bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp
, line 1708 + 0x40 byte(s)
0x0339F6E8 (0x06229FC0 0x08416D70 0x0622A068 0xCCCCCCCC), clang::ASTContext::get
TypeInfo() + 0x98 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp, lin
e 1445
0x0339FA69 (0x0622A018 0x08416D70 0x0622A0CC 0xCCCCCCCC), clang::ASTContext::get
TypeInfoInChars() + 0x59 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1422
0x0353CF3C (0x0622A0B4 0x08417198 0x0622A110 0x0622D858), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::getAdjustedElementInfo() + 0x4C bytes(s), e:\llvm
\llvm\tools\clang\lib\ast\recordlayoutbuilder.cpp, line 2310 + 0x29 byte(s)
0x0353C010 (0x08417198 0x0622A14C 0x08417198 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutField() + 0x60 bytes(s), e:\llvm\llvm\tools
\clang\lib\ast\recordlayoutbuilder.cpp, line 2540
0x0353BF42 (0x08417020 0x0622A2F4 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutFields() + 0x92 bytes(s), e:\llvm\llvm\tool
s\clang\lib\ast\recordlayoutbuilder.cpp, line 2530 + 0xC byte(s)
0x0353AEA5 (0x08417020 0x0622A8B8 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::cxxLayout() + 0x65 bytes(s), e:\llvm\llvm\tools\c
lang\lib\ast\recordlayoutbuilder.cpp, line 2361
0x03534A6B (0x08417020 0x0622AAA0 0x0622D858 0xCCCCCCCC), clang::ASTContext::Bui
ldMicrosoftASTRecordLayout() + 0x6B bytes(s), e:\llvm\llvm\tools\clang\lib\ast\r
ecordlayoutbuilder.cpp, line 2852
0x035345B0 (0x08417020 0x0622AAF0 0x0622D858 0xCCCCCCCC), clang::ASTContext::get
ASTRecordLayout() + 0x170 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\recordlayou
tbuilder.cpp, line 2888 + 0xC byte(s)
0x0339ECD3 (0x0622AAC8 0x08417100 0x0622AB34 0x080EA7C8), clang::ASTContext::get
TypeInfoImpl() + 0xCF3 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp
, line 1694 + 0xF byte(s)
0x0339F6E8 (0x0622AB18 0x08417100 0x0622ABC0 0xCCCCCCCC), clang::ASTContext::get
TypeInfo() + 0x98 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp, lin
e 1445
0x0339FA69 (0x0622AB70 0x08417100 0x0622AC24 0xCCCCCCCC), clang::ASTContext::get
TypeInfoInChars() + 0x59 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1422
0x0353CF3C (0x0622AC0C 0x084450E0 0x0622AC68 0x0622D858), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::getAdjustedElementInfo() + 0x4C bytes(s), e:\llvm
\llvm\tools\clang\lib\ast\recordlayoutbuilder.cpp, line 2310 + 0x29 byte(s)
0x0353C010 (0x084450E0 0x0622ACA4 0x084450E0 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutField() + 0x60 bytes(s), e:\llvm\llvm\tools
\clang\lib\ast\recordlayoutbuilder.cpp, line 2540
0x0353BF42 (0x08444718 0x0622AE4C 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutFields() + 0x92 bytes(s), e:\llvm\llvm\tool
s\clang\lib\ast\recordlayoutbuilder.cpp, line 2530 + 0xC byte(s)
0x0353AEA5 (0x08444718 0x0622B410 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::cxxLayout() + 0x65 bytes(s), e:\llvm\llvm\tools\c
lang\lib\ast\recordlayoutbuilder.cpp, line 2361
0x03534A6B (0x08444718 0x0622B4F4 0x0622D858 0xCCCCCCCC), clang::ASTContext::Bui
ldMicrosoftASTRecordLayout() + 0x6B bytes(s), e:\llvm\llvm\tools\clang\lib\ast\r
ecordlayoutbuilder.cpp, line 2852
0x035345B0 (0x08444718 0x0622B530 0xCCCCCCCC 0xCCCCCCCC), clang::ASTContext::get
ASTRecordLayout() + 0x170 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\recordlayou
tbuilder.cpp, line 2888 + 0xC byte(s)
0x0353B44B (0x084407B8 0x0622B6D8 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutNonVirtualBases() + 0x9B bytes(s), e:\llvm\
llvm\tools\clang\lib\ast\recordlayoutbuilder.cpp, line 2438 + 0xE byte(s)
0x0353AE99 (0x084407B8 0x0622BC9C 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::cxxLayout() + 0x59 bytes(s), e:\llvm\llvm\tools\c
lang\lib\ast\recordlayoutbuilder.cpp, line 2360
0x03534A6B (0x084407B8 0x0622BE84 0x0622D858 0xCCCCCCCC), clang::ASTContext::Bui
ldMicrosoftASTRecordLayout() + 0x6B bytes(s), e:\llvm\llvm\tools\clang\lib\ast\r
ecordlayoutbuilder.cpp, line 2852
0x035345B0 (0x084407B8 0x0622BED4 0x0622D858 0xCCCCCCCC), clang::ASTContext::get
ASTRecordLayout() + 0x170 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\recordlayou
tbuilder.cpp, line 2888 + 0xC byte(s)
0x0339ECD3 (0x0622BEAC 0x08440870 0x0622BF18 0x080EA7C8), clang::ASTContext::get
TypeInfoImpl() + 0xCF3 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp
, line 1694 + 0xF byte(s)
0x0339F6E8 (0x0622BEFC 0x08440870 0x0622BFA4 0xCCCCCCCC), clang::ASTContext::get
TypeInfo() + 0x98 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp, lin
e 1445
0x0339FA69 (0x0622BF54 0x08440870 0x0622C008 0xCCCCCCCC), clang::ASTContext::get
TypeInfoInChars() + 0x59 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1422
0x0353CF3C (0x0622BFF0 0x08447F00 0x0622C04C 0x0622D858), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::getAdjustedElementInfo() + 0x4C bytes(s), e:\llvm
\llvm\tools\clang\lib\ast\recordlayoutbuilder.cpp, line 2310 + 0x29 byte(s)
0x0353C010 (0x08447F00 0x0622C088 0x08447F00 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutField() + 0x60 bytes(s), e:\llvm\llvm\tools
\clang\lib\ast\recordlayoutbuilder.cpp, line 2540
0x0353BF42 (0x08440970 0x0622C230 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::layoutFields() + 0x92 bytes(s), e:\llvm\llvm\tool
s\clang\lib\ast\recordlayoutbuilder.cpp, line 2530 + 0xC byte(s)
0x0353AEA5 (0x08440970 0x0622C7F4 0xCCCCCCCC 0xCCCCCCCC), `anonymous namespace':
:MicrosoftRecordLayoutBuilder::cxxLayout() + 0x65 bytes(s), e:\llvm\llvm\tools\c
lang\lib\ast\recordlayoutbuilder.cpp, line 2361
0x03534A6B (0x08440970 0x0622C9DC 0x0622D858 0xCCCCCCCC), clang::ASTContext::Bui
ldMicrosoftASTRecordLayout() + 0x6B bytes(s), e:\llvm\llvm\tools\clang\lib\ast\r
ecordlayoutbuilder.cpp, line 2852
0x035345B0 (0x08440970 0x0622CA2C 0x0622D858 0xCCCCCCCC), clang::ASTContext::get
ASTRecordLayout() + 0x170 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\recordlayou
tbuilder.cpp, line 2888 + 0xC byte(s)
0x0339ECD3 (0x0622CA04 0x08440A50 0x0622CC18 0x080EA7C8), clang::ASTContext::get
TypeInfoImpl() + 0xCF3 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp
, line 1694 + 0xF byte(s)
0x0339F6E8 (0x0622CC40 0x08440A50 0x0622CC68 0x0622D858), clang::ASTContext::get
TypeInfo() + 0x98 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp, lin
e 1445
0x0339ED65 (0x0622CC40 0x08443990 0x0622CCAC 0x080EA7C8), clang::ASTContext::get
TypeInfoImpl() + 0xD85 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp
, line 1703 + 0x2E byte(s)
0x0339F6E8 (0x0622CC90 0x08443990 0x0622CD78 0xCCCCCCCC), clang::ASTContext::get
TypeInfo() + 0x98 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.cpp, lin
e 1445
0x0339FA69 (0x0622CCD0 0x08443990 0x062C2168 0x0622CCE4), clang::ASTContext::get
TypeInfoInChars() + 0x59 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1422
0x0339FB03 (0x0622CCD0 0x08443990 0xCCCCCCCC 0xCCCCCCCC), clang::ASTContext::get
TypeInfoInChars() + 0x23 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1427 + 0x15 byte(s)
0x0339F83D (0x0622CCF4 0x08443990 0xCCCCCCCC 0xCCCCCCCC), clang::ASTContext::get
TypeSizeInChars() + 0x2D bytes(s), e:\llvm\llvm\tools\clang\lib\ast\astcontext.c
pp, line 1777 + 0x10 byte(s)
0x034BAEF3 (0x0622D24C 0x00005C4E 0x08443990 0x0622CD48), HandleSizeof() + 0xA3
bytes(s), e:\llvm\llvm\tools\clang\lib\ast\exprconstant.cpp, line 1894 + 0x12 by
te(s)
0x034CAE88 (0x0844A4C0 0xCCCCCCCC 0x0000006C 0xCCCCCCCC), `anonymous namespace':
:IntExprEvaluator::VisitUnaryExprOrTypeTraitExpr() + 0x198 bytes(s), e:\llvm\llv
m\tools\clang\lib\ast\exprconstant.cpp, line 7246 + 0x22 byte(s)
0x034E86BD (0x0844A4C0 0x0622D1D8 0xCCCCCCCC 0xCCCCCCCC), clang::StmtVisitorBase
<clang::make_const_ptr,`anonymous namespace'::IntExprEvaluator,bool>::Visit() +
0xB1D bytes(s), e:\llvm\llvm\tools\clang\include\clang\ast\stmtvisitor.h, line 7
29 + 0xC byte(s)
0x034B71AD (0x0622D3C8 0x0622D24C 0x0844A4C0 0x0622D398), Evaluate() + 0x12D byt
es(s), e:\llvm\llvm\tools\clang\lib\ast\exprconstant.cpp, line 8350 + 0x1E byte(
s)
0x034D006B (0x0622D24C 0x0844A4C0 0x0622D3C8 0x0622D408), EvaluateAsRValue() + 0
x7B bytes(s), e:\llvm\llvm\tools\clang\lib\ast\exprconstant.cpp, line 8439 + 0x1
1 byte(s)
0x034B4DEB (0x062C2168 0x0622D3C8 0x00000000 0x0622D51C), clang::Expr::isCXX11Co
nstantExpr() + 0xDB bytes(s), e:\llvm\llvm\tools\clang\lib\ast\exprconstant.cpp,
line 9090 + 0x40 byte(s)
0x034D168D (0x062C2168 0x0844A4C0 0x0622D4C4 0x00000000), EvaluateCPlusPlus11Int
egralConstantExpr() + 0x7D bytes(s), e:\llvm\llvm\tools\clang\lib\ast\exprconsta
nt.cpp, line 9036 + 0x14 byte(s)
0x034B4B95 (0x0622D4C4 0x062C2168 0x00000000 0x00000001), clang::Expr::isInteger
ConstantExpr() + 0x35 bytes(s), e:\llvm\llvm\tools\clang\lib\ast\exprconstant.cp
p, line 9064 + 0x15 byte(s)
0x02F4EE22 (0x062F5DC8 0x0844A540 0x0622D638 0xCCCCCCCC), `anonymous namespace':
:AnalyzeComparison() + 0x122 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semache
cking.cpp, line 6270 + 0x17 byte(s)
0x02F4DC1D (0x062F5DC8 0x0844A540 0x00005C5F 0x062F5DC8), `anonymous namespace':
:AnalyzeImplicitConversions() + 0x1DD bytes(s), e:\llvm\llvm\tools\clang\lib\sem
a\semachecking.cpp, line 6895 + 0xD byte(s)
0x02F4299C (0x0844A540 0x00005C5F 0x062F5DC8 0x0622D638), clang::Sema::CheckImpl
icitConversions() + 0x5C bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semacheckin
g.cpp, line 7186 + 0x11 byte(s)
0x02F42B4E (0x0844A540 0x00005C5F 0x00000000 0x0622D6F4), clang::Sema::CheckComp
letedExpr() + 0x1E bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semachecking.cpp,
line 7700
0x02AEA9A4 (0x0622D658 0x0844A540 0x00005C5F 0x00000000), clang::Sema::ActOnFini
shFullExpr() + 0x214 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semaexprcxx.cpp
, line 6418
0x0279C921 (0x0622D6CC 0x0844A540 0x00005C5F 0x00005C5F), clang::Sema::MakeFullE
xpr() + 0x31 bytes(s), e:\llvm\llvm\tools\clang\include\clang\sema\sema.h, line
3017 + 0x1A byte(s)
0x02A77CF4 (0x0622D6CC 0x0844A540 0x0622D7C0 0x0622D858), clang::Sema::MakeFullE
xpr() + 0x54 bytes(s), e:\llvm\llvm\tools\clang\include\clang\sema\sema.h, line
3014 + 0x3A byte(s)
0x02E3116F (0x0622D744 0x084434B8 0x00000071 0xCCCCCCCC), clang::TreeTransform<`
anonymous namespace'::TemplateInstantiator>::TransformIfStmt() + 0x15F bytes(s),
e:\llvm\llvm\tools\clang\lib\sema\treetransform.h, line 5802
0x02E3CB3E (0x0622D744 0x084434B8 0x0622D844 0x00000001), clang::TreeTransform<`
anonymous namespace'::TemplateInstantiator>::TransformStmt() + 0x2BE bytes(s), e
:\llvm\llvm\tools\clang\lib\sema\treetransform.h, line 763 + 0x20 byte(s)
0x02E294BA (0x0622D904 0x08443548 0x00000000 0x0622D81C), clang::TreeTransform<`
anonymous namespace'::TemplateInstantiator>::TransformCompoundStmt() + 0xAA byte
s(s), e:\llvm\llvm\tools\clang\lib\sema\treetransform.h, line 5629
0x02E293F7 (0x0622D904 0x08443548 0x00000008 0xCCCCCCCC), clang::TreeTransform<`
anonymous namespace'::TemplateInstantiator>::TransformCompoundStmt() + 0x27 byte
s(s), e:\llvm\llvm\tools\clang\lib\sema\treetransform.h, line 5615 + 0x19 byte(s
)
0x02E3CA4E (0x0622D904 0x08443548 0x0622DACC 0x00000000), clang::TreeTransform<`
anonymous namespace'::TemplateInstantiator>::TransformStmt() + 0x1CE bytes(s), e
:\llvm\llvm\tools\clang\lib\sema\treetransform.h, line 79 + 0x20 byte(s)
0x02E0FED8 (0x0622D904 0x08443548 0x0622D92C 0x0622DB6C), clang::Sema::SubstStmt
() + 0x68 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\sematemplateinstantiate.cp
p, line 2674 + 0x10 byte(s)
0x02EDDF60 (0x000051EB 0x084428B0 0x00000001 0x00000000), clang::Sema::Instantia
teFunctionDefinition() + 0x760 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semat
emplateinstantiatedecl.cpp, line 3437
0x02EDCF91 (0x00000000 0x0622DE8C 0x0622DE98 0x0839FDB4), clang::Sema::PerformPe
ndingInstantiations() + 0x131 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semate
mplateinstantiatedecl.cpp, line 4596
0x02EDE083 (0x0000509B 0x0843D1B8 0x00000001 0x00000000), clang::Sema::Instantia
teFunctionDefinition() + 0x883 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semat
emplateinstantiatedecl.cpp, line 3470
0x02EDCF91 (0x00000000 0x0622E1AC 0x0622E1B8 0x0839FB64), clang::Sema::PerformPe
ndingInstantiations() + 0x131 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semate
mplateinstantiatedecl.cpp, line 4596
0x02EDE083 (0x00006D70 0x08433600 0x00000001 0x00000000), clang::Sema::Instantia
teFunctionDefinition() + 0x883 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semat
emplateinstantiatedecl.cpp, line 3470
0x02EDCF91 (0x00000000 0x0622E4CC 0x0622E928 0x083B5594), clang::Sema::PerformPe
ndingInstantiations() + 0x131 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semate
mplateinstantiatedecl.cpp, line 4596
0x02EDE083 (0x00000053 0x08428F90 0x00000001 0x00000000), clang::Sema::Instantia
teFunctionDefinition() + 0x883 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semat
emplateinstantiatedecl.cpp, line 3470
0x02EDCF91 (0x00000000 0x0622E91C 0x0622E928 0xCCCCCCCC), clang::Sema::PerformPe
ndingInstantiations() + 0x131 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\semate
mplateinstantiatedecl.cpp, line 4596
0x0295C983 (0x0622E9AC 0x00000000 0x00000001 0xCCCCCCCC), clang::Sema::ActOnEndO
fTranslationUnit() + 0x143 bytes(s), e:\llvm\llvm\tools\clang\lib\sema\sema.cpp,
line 664
0x02732642 (0x0622E964 0x0622EA54 0x0622E9BC 0x0630FFE8), clang::Parser::ParseTo
pLevelDecl() + 0x1B2 bytes(s), e:\llvm\llvm\tools\clang\lib\parse\parser.cpp, li
ne 559
0x02730968 (0x062F5DC8 0x00000000 0x00000000 0x0622E9D8), clang::ParseAST() + 0x
1B8 bytes(s), e:\llvm\llvm\tools\clang\lib\parse\parseast.cpp, line 144 + 0xC by
te(s)
0x019D3D21 (0x0622EA00 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC), clang::ASTFrontendActi
on::ExecuteAction() + 0x101 bytes(s), e:\llvm\llvm\tools\clang\lib\frontend\fron
tendaction.cpp, line 538 + 0x30 byte(s)
0x019D390E (0x0622EAF8 0x00000000 0xCCCCCCCC 0xCCCCCCCC), clang::FrontendAction:
:Execute() + 0x7E bytes(s), e:\llvm\llvm\tools\clang\lib\frontend\frontendaction
.cpp, line 439 + 0xF byte(s)
0x0198ECA1 (0x062A1E78 0x0622F000 0x00000000 0xCCCCCCCC), clang::CompilerInstanc
e::ExecuteAction() + 0x2A1 bytes(s), e:\llvm\llvm\tools\clang\lib\frontend\compi
lerinstance.cpp, line 808
0x01AE506E (0x0628BB90 0x0622FDB0 0xCCCCCCCC 0xCCCCCCCC), clang::ExecuteCompiler
Invocation() + 0x30E bytes(s), e:\llvm\llvm\tools\clang\lib\frontendtool\execute
compilerinvocation.cpp, line 222 + 0x11 byte(s)
0x0036BC22 (0x0622F998 0x00000036 0x0629D0E8 0x002A137F), cc1_main() + 0x302 byt
es(s), e:\llvm\llvm\tools\clang\tools\driver\cc1_main.cpp, line 110 + 0xE byte(s
)
0x00359138 (0x0622F990 0x00000038 0x0629D10D 0x00000000), ExecuteCC1Tool() + 0x7
8 bytes(s), e:\llvm\llvm\tools\clang\tools\driver\driver.cpp, line 369 + 0x2B by
te(s)
0x003594DA (0x00000038 0x0628A008 0x06285680 0x69F1FA2D), main() + 0x2FA bytes(s
), e:\llvm\llvm\tools\clang\tools\driver\driver.cpp, line 415 + 0x33 byte(s)
0x03698E99 (0x0622FE14 0x766A338A 0x7EFDE000 0x0622FE54), __tmainCRTStartup() +
0x199 bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 626 + 0x19 byte
(s)
0x03698FDD (0x7EFDE000 0x0622FE54 0x77199F72 0x7EFDE000), mainCRTStartup() + 0xD
bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 466
0x766A338A (0x7EFDE000 0x4B16EFF2 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0x12 bytes(s)
0x77199F72 (0x03698FD0 0x7EFDE000 0x00000000 0x00000000), RtlInitializeException
Chain() + 0x63 bytes(s)
0x77199F45 (0x03698FD0 0x7EFDE000 0x00000000 0x00000000), RtlInitializeException
Chain() + 0x36 bytes(s)
clang.exe: error: clang frontend command failed due to signal (use -v to see inv
ocation)
clang version 3.7.0 (trunk 234484)
Target: i686-pc-windows-msvc
Thread model: posix
clang.exe: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/b
ugs/ and include the crash backtrace, preprocessed source, and associated run sc
ript.
clang.exe: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang.exe: note: diagnostic msg: E:\temp\clang-crash-03a84f.cpp
clang.exe: note: diagnostic msg: E:\temp\clang-crash-03a84f.sh
clang.exe: note: diagnostic msg:
********************
I have the feeling that the root cause might be similar to bug 22934. Adding rikka@.
The test case hitting an assertion about not being able to request the size of an undeduced or dependent auto type has been fixed in r236682.
clang-crash.cpp
(93 bytes, application/octet-stream)