From: Paolo Carlini Date: Tue, 24 Mar 2015 10:24:33 +0000 (+0000) Subject: re PR c++/65513 (gcc stops with "internal compiler error") X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9272fd04204ce8e1287a94b2d4fdacd32ef90a1;p=gcc.git re PR c++/65513 (gcc stops with "internal compiler error") 2015-03-24 Paolo Carlini PR c++/65513 * g++.dg/cpp0x/constexpr-array11.C: New. From-SVN: r221620 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e8f5b1d241..55f6ed6aac3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Paolo Carlini + + PR c++/65513 + * g++.dg/cpp0x/constexpr-array11.C: New. + 2015-03-24 Richard Biener PR middle-end/65517 diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C new file mode 100644 index 00000000000..5ecda4d112e --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C @@ -0,0 +1,13 @@ +// PR c++/65513 +// { dg-do compile { target c++11 } } + +template struct atomic { + atomic() = default; + atomic(_Tp); +}; + +struct { + atomic bReadyToFlush; +} + +LogThreadsleLogEntries[10]{};