diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2015-03-24 10:24:33 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2015-03-24 10:24:33 +0000 |
commit | a9272fd04204ce8e1287a94b2d4fdacd32ef90a1 (patch) | |
tree | 64981a7c8f9bceff11b6ff702cfd14ab79377ac0 /gcc | |
parent | bdb3744886f71ac1aab86a30bc25a8ca9c8119a2 (diff) | |
download | gcc-a9272fd04204ce8e1287a94b2d4fdacd32ef90a1.zip gcc-a9272fd04204ce8e1287a94b2d4fdacd32ef90a1.tar.gz gcc-a9272fd04204ce8e1287a94b2d4fdacd32ef90a1.tar.bz2 |
re PR c++/65513 (gcc stops with "internal compiler error")
2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65513
* g++.dg/cpp0x/constexpr-array11.C: New.
From-SVN: r221620
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e8f5b1..55f6ed6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/65513 + * g++.dg/cpp0x/constexpr-array11.C: New. + 2015-03-24 Richard Biener <rguenther@suse.de> 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 0000000..5ecda4d --- /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 <typename _Tp> struct atomic { + atomic() = default; + atomic(_Tp); +}; + +struct { + atomic<bool> bReadyToFlush; +} + +LogThreadsleLogEntries[10]{}; |