]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add -std=gnu11 and -std=c11 NPTL initializers tests.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 27 Oct 2015 21:48:34 +0000 (21:48 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 27 Oct 2015 21:48:34 +0000 (21:48 +0000)
commit678443ce179c30305be3a4a042abad2912c863d8
tree2ddea7fab8ca07d0cf493667b2fead7de7b0b99e
parent783dd2d3af5aad76829e61ab5abeac5d466971f6
Add -std=gnu11 and -std=c11 NPTL initializers tests.

NPTL has tests that initializers work with various -std= options.  Now
that we can rely on -std=gnu11 and -std=c11 being available, this
patch adds versions of those tests for those options.

Tested for x86_64 and x86 (testsuite).

* nptl/tst-initializers1-c11.c: New file.
* nptl/tst-initializers1-gnu11.c: Likewise.
* nptl/Makefile (tests): Add these new tests.
(CFLAGS-tst-initializers1-c11.c): New variable.
(CFLAGS-tst-initializers1-gnu11.c): Likewise.
ChangeLog
nptl/Makefile
nptl/tst-initializers1-c11.c [new file with mode: 0644]
nptl/tst-initializers1-gnu11.c [new file with mode: 0644]