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.18-517-gf447922
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Dec 2013 03:29:05 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-517-gf447922
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 f4479220946ab71e6d73e8a7bd7e96b148e848f7 (commit)
from 8517800fabfba81e4b1c0e1c11521ee05b3cafaf (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=f4479220946ab71e6d73e8a7bd7e96b148e848f7
commit f4479220946ab71e6d73e8a7bd7e96b148e848f7
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Fri Dec 6 09:02:19 2013 +0530
benchtests: Append volatile keyword to type instead of prepending
`volatile int` means the same as 'int volatile', but that's not the
case for 'volatile char *' and 'char * volatile'. We won't need a
'char volatile *' or other complicated semantics for now.
diff --git a/ChangeLog b/ChangeLog
index c46833b..cc1478c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * scripts/bench.pl: Append volatile keyword to type.
+
2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/sotruss-lib.c: New file.
diff --git a/scripts/bench.pl b/scripts/bench.pl
index 90441e1..10f0ba4 100755
--- a/scripts/bench.pl
+++ b/scripts/bench.pl
@@ -98,7 +98,7 @@ my $bench_func = "#define CALL_BENCH_FUNC(v, i) $func (";
my $outvars = "";
if ($ret ne "void") {
- $outvars = "static volatile $ret ret;\n";
+ $outvars = "static $ret volatile ret;\n";
}
# Print the definitions and macros.
@@ -139,7 +139,7 @@ if (@args > 0) {
$bench_func = "$bench_func &out$num";
}
else {
- $arg_struct = "$arg_struct volatile $arg arg$num;";
+ $arg_struct = "$arg_struct $arg volatile arg$num;";
$bench_func = "$bench_func variants[v].in[i].arg$num";
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
scripts/bench.pl | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources