This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-190-gaebe100
- From: azanella at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Mar 2014 18:56:43 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-190-gaebe100
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 aebe10032963f5424498752732e316ff3438a8f3 (commit)
from b29b6bb8fedf573ffe73147a07c851c1b6135adc (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=aebe10032963f5424498752732e316ff3438a8f3
commit aebe10032963f5424498752732e316ff3438a8f3
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Tue Mar 18 08:54:04 2014 -0500
Add stardard definition on conform processing
This patch adds the -std=c99 option when preprocessing the data files
from the conform testcases. It fixes an issue where the compiler may
split the 'macro bool' defition from stdbool.h-data in two lines and
thus breaking the conform script.
diff --git a/ChangeLog b/ChangeLog
index 7f67727..84c4bfb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * conform/conformtest.pl: Add standard definition when calling C
+ preprocessor on data files.
+ (checknamespace): Remove unused variable.
+
2014-03-18 Joseph Myers <joseph@codesourcery.com>
* math/gen-libm-test.pl (parse_args): Handle plus_oflow,
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 085fbb8..c8c1d2a 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -264,7 +264,6 @@ sub checknamespace {
close (TESTFILE);
undef %errors;
- $nknown = 0;
open (CONTENT, "$CC $CFLAGS_namespace -E $fnamebase.c -P -Wp,-dN | sed -e '/^# [1-9]/d' -e '/^[[:space:]]*\$/d' |");
loop: while (<CONTENT>) {
chop;
@@ -324,7 +323,7 @@ while ($#headers >= 0) {
printf ("Testing <$h>\n");
printf ("----------" . "-" x length ($h) . "\n");
- open (CONTROL, "$CC -E -D$standard -x c data/$h-data |");
+ open (CONTROL, "$CC -E -D$standard -std=c99 -x c data/$h-data |");
control: while (<CONTROL>) {
chop;
next control if (/^#/);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
conform/conformtest.pl | 3 +--
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources