<div dir="ltr">Thanks, Richard.<div><br></div><div>Conversely, do we need to give sufficient amount of stack to the clang executable whenever this fails?</div><div><br></div><div>By default, clang.exe has 2MiB (and *-tblgen.exe(s) are gaven 16MiB) of stack on mingw-w64. 10,000,000 bytes on MS-compiled executables. I can easily increase the size.</div><div>See HandleLLVMOptions.cmake and TableGen.cmake.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 31, 2016 at 4:12 AM Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 30, 2016 at 8:38 AM, NAKAMURA Takumi via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: chapuni<br>
Date: Tue Aug 30 10:38:18 2016<br>
New Revision: 280104<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=280104&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=280104&view=rev</a><br>
Log:<br>
Disable clang/test/SemaTemplate/instantiation-depth-default.cpp temporarily for targeting mingw32. It crashes. Investigating.<br></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>This is probably due to stack overflow. Is there a way we can raise the stack limit for mingw32?</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Modified:<br>
cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp<br>
<br>
Modified: cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp?rev=280104&r1=280103&r2=280104&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp?rev=280104&r1=280103&r2=280104&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp (original)<br>
+++ cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp Tue Aug 30 10:38:18 2016<br>
@@ -12,3 +12,6 @@ template<int N, typename T> struct X : X<br>
// expected-note@8 {{use -ftemplate-depth=N to increase recursive template instantiation depth}}<br>
<br>
X<0, int> x; // expected-note {{in instantiation of}}<br>
+<br>
+// FIXME: It crashes. Investigating.<br>
+// UNSUPPORTED: mingw32<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div></div></blockquote></div>