GNU C Library master sources branch master updated. glibc-2.22-473-g678443c

jsm28@sourceware.org jsm28@sourceware.org
Tue Oct 27 21:48:00 GMT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  678443ce179c30305be3a4a042abad2912c863d8 (commit)
      from  783dd2d3af5aad76829e61ab5abeac5d466971f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=678443ce179c30305be3a4a042abad2912c863d8

commit 678443ce179c30305be3a4a042abad2912c863d8
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Oct 27 21:48:34 2015 +0000

    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.

diff --git a/ChangeLog b/ChangeLog
index 54471b2..c6404a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
 
+	* 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.
+
 	* Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
 	* Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
 	instead of -std=gnu99.
diff --git a/nptl/Makefile b/nptl/Makefile
index 7b816a3..9ad8793 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -285,7 +285,8 @@ tests = tst-typesizes \
 	tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
 	tst-getpid3 \
 	tst-setuid3 \
-	tst-initializers1 $(addprefix tst-initializers1-,c89 gnu89 c99 gnu99) \
+	tst-initializers1 $(addprefix tst-initializers1-,\
+			    c89 gnu89 c99 gnu99 c11 gnu11) \
 	tst-bad-schedattr \
 	tst-thread_local1
 xtests = tst-setuid1 tst-setuid1-static tst-setuid2 \
@@ -483,8 +484,10 @@ CFLAGS-tst-initializers1-< = $(CFLAGS-tst-initializers1.c) \
 			     $(patsubst tst-initializers1-%.c,-std=%,$<)
 CFLAGS-tst-initializers1-c89.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-c99.c = $(CFLAGS-tst-initializers1-<)
+CFLAGS-tst-initializers1-c11.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-gnu89.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-gnu99.c = $(CFLAGS-tst-initializers1-<)
+CFLAGS-tst-initializers1-gnu11.c = $(CFLAGS-tst-initializers1-<)
 
 tst-cancel7-ARGS = --command "exec $(host-test-program-cmd)"
 tst-cancelx7-ARGS = $(tst-cancel7-ARGS)
diff --git a/nptl/tst-initializers1-c11.c b/nptl/tst-initializers1-c11.c
new file mode 100644
index 0000000..7c27c1d
--- /dev/null
+++ b/nptl/tst-initializers1-c11.c
@@ -0,0 +1 @@
+#include "tst-initializers1.c"
diff --git a/nptl/tst-initializers1-gnu11.c b/nptl/tst-initializers1-gnu11.c
new file mode 100644
index 0000000..7c27c1d
--- /dev/null
+++ b/nptl/tst-initializers1-gnu11.c
@@ -0,0 +1 @@
+#include "tst-initializers1.c"

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    6 ++++++
 nptl/Makefile                                      |    5 ++++-
 ...initializers1-c89.c => tst-initializers1-c11.c} |    0
 ...itializers1-c89.c => tst-initializers1-gnu11.c} |    0
 4 files changed, 10 insertions(+), 1 deletions(-)
 copy nptl/{tst-initializers1-c89.c => tst-initializers1-c11.c} (100%)
 copy nptl/{tst-initializers1-c89.c => tst-initializers1-gnu11.c} (100%)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list