Hi,
On 08/01/19 11:24, Christophe Lyon wrote:
On Mon, 7 Jan 2019 at 18:08, Paolo Carlini <paolo.carl...@oracle.com> wrote:
Hi,
should be straightforward material. Tested x86_64-linux, as usual.
Thanks, Paolo.
/////////////////////
Hi,
The new g++.dg/diagnostic/thread1.C passes on aarch64, but fails on arm:
FAIL: g++.dg/diagnostic/thread1.C -std=c++14 (test for errors, line 13)
FAIL: g++.dg/diagnostic/thread1.C -std=c++14 (test for excess errors)
FAIL: g++.dg/diagnostic/thread1.C -std=c++17 (test for errors, line 13)
FAIL: g++.dg/diagnostic/thread1.C -std=c++17 (test for excess errors)
the logs say:
/gcc/testsuite/g++.dg/diagnostic/thread1.C:13:12: error: non-local
variable 's' declared '__thread' needs dynamic initialization
I don't know why the error message does not match?
Evidently on some targets that variable also needs dynamic
initialization, the issue isn't just that it has a non-trivial
destructor. Thus, I'm simply going to shorten by one word the expected
string.
Thanks, Paolo.