You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(1) |
2
|
|
3
(5) |
4
(7) |
5
(16) |
6
(7) |
7
(5) |
8
|
9
|
|
10
(3) |
11
(7) |
12
(7) |
13
(15) |
14
(4) |
15
(8) |
16
(10) |
|
17
(1) |
18
(7) |
19
(5) |
20
(17) |
21
(10) |
22
(5) |
23
|
|
24
|
25
|
26
(10) |
27
(21) |
28
(18) |
29
(7) |
30
(4) |
|
From: Christian B. <bor...@de...> - 2011-04-03 20:36:10
|
Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z10 (s390x) ) Started at 2011-04-03 22:10:01 CEST Ended at 2011-04-03 22:36:02 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 457 tests, 6 stderr failures, 0 stdout failures, 0 post failures == none/tests/faultstatus (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) |
|
From: Christian B. <bor...@de...> - 2011-04-03 20:31:28
|
Nightly build on fedora390 ( Fedora 13/14/15 mix with gcc 3.5.3 on z196 (s390x) ) Started at 2011-04-03 22:10:01 CEST Ended at 2011-04-03 22:30:41 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 456 tests, 6 stderr failures, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 441 tests, 6 stderr failures, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/annotate_spinlock (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Apr 3 22:21:15 2011 --- new.short Sun Apr 3 22:30:41 2011 *************** *** 8,13 **** ! == 441 tests, 6 stderr failures, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) - drd/tests/annotate_spinlock (stderr) drd/tests/tc04_free_lock (stderr) --- 8,13 ---- ! == 456 tests, 6 stderr failures, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) + helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) |
In case anyone is wondering: the commit message for r11682 should have been "Suppress unused variable warnings reported by gcc 4.6 on regression tests." Bart. On Sun, Apr 3, 2011 at 7:42 PM, <sv...@va...> wrote: > > Author: bart > Date: 2011-04-03 18:42:19 +0100 (Sun, 03 Apr 2011) > New Revision: 11682 > > Log: > > [ ... ] |
Author: bart
Date: 2011-04-03 18:42:19 +0100 (Sun, 03 Apr 2011)
New Revision: 11682
Log:
Modified:
trunk/drd/tests/annotate_ignore_rw.c
trunk/drd/tests/custom_alloc.c
trunk/drd/tests/sigalrm.c
trunk/drd/tests/tsan_unittest.cpp
trunk/exp-ptrcheck/tests/arith_include2.c
trunk/exp-ptrcheck/tests/hp_bounds.c
trunk/exp-ptrcheck/tests/hp_dangle.c
trunk/exp-ptrcheck/tests/justify.c
trunk/exp-ptrcheck/tests/mm.c
trunk/exp-ptrcheck/tests/partial.c
trunk/exp-ptrcheck/tests/pth_specific.c
trunk/exp-ptrcheck/tests/realloc.c
trunk/exp-ptrcheck/tests/strlen.c
trunk/exp-ptrcheck/tests/unaligned.c
trunk/exp-ptrcheck/tests/zero.c
trunk/helgrind/helgrind.h
trunk/helgrind/tests/tc18_semabuse.c
trunk/massif/tests/realloc.c
trunk/memcheck/tests/error_counts.c
trunk/memcheck/tests/linux/brk.c
trunk/memcheck/tests/linux/stack_switch.c
trunk/memcheck/tests/strchr.c
trunk/memcheck/tests/trivialleak.c
trunk/memcheck/tests/x86-linux/scalar_exit_group.c
trunk/memcheck/tests/x86-linux/scalar_fork.c
trunk/memcheck/tests/x86-linux/scalar_vfork.c
trunk/none/tests/bug129866.c
trunk/none/tests/coolo_sigaction.cpp
trunk/none/tests/linux/mremap2.c
trunk/none/tests/x86/aad_aam.c
trunk/perf/sarp.c
trunk/perf/tinycc.c
Modified: trunk/drd/tests/annotate_ignore_rw.c
===================================================================
--- trunk/drd/tests/annotate_ignore_rw.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/drd/tests/annotate_ignore_rw.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -24,7 +24,6 @@
{
int optchar;
int ign_rw = 1;
- int tmp;
pthread_t tid;
while ((optchar = getopt(argc, argv, "r")) != EOF)
@@ -54,7 +53,7 @@
sleep(1);
/* Read s_c. */
- tmp = s_c;
+ fprintf(stderr, "x" + s_c);
pthread_join(tid, 0);
Modified: trunk/drd/tests/custom_alloc.c
===================================================================
--- trunk/drd/tests/custom_alloc.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/drd/tests/custom_alloc.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -57,7 +57,7 @@
void make_leak(void)
{
- int* array2 = custom_alloc(sizeof(int) * 10);
+ int* array2 __attribute__((unused)) = custom_alloc(sizeof(int) * 10);
array2 = 0; // leak
return;
}
Modified: trunk/drd/tests/sigalrm.c
===================================================================
--- trunk/drd/tests/sigalrm.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/drd/tests/sigalrm.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -55,7 +55,6 @@
int main(int argc, char** argv)
{
- int vgthreadid;
pthread_t threadid;
struct timespec tsDelay;
@@ -63,8 +62,6 @@
if (argc > 1)
s_debug = 1;
- vgthreadid = DRD_GET_VALGRIND_THREADID;
-
print_thread_id("main: ");
{
Modified: trunk/drd/tests/tsan_unittest.cpp
===================================================================
--- trunk/drd/tests/tsan_unittest.cpp 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/drd/tests/tsan_unittest.cpp 2011-04-03 17:42:19 UTC (rev 11682)
@@ -3469,7 +3469,7 @@
n %= Nlog;
long t0 = clock();
- long t = t0;
+ long t __attribute__((unused)) = t0;
for (int it = 0; it < N_iter; it++) {
if(n == 0) {
@@ -5047,7 +5047,7 @@
int GLOB = 0;
void F1() {
- int ar[32];
+ int ar[32] __attribute__((unused));
// ANNOTATE_TRACE_MEMORY(&ar[0]);
// ANNOTATE_TRACE_MEMORY(&ar[31]);
ar[0] = 1;
@@ -5055,7 +5055,7 @@
}
void Worker() {
- int ar[32];
+ int ar[32] __attribute__((unused));
// ANNOTATE_TRACE_MEMORY(&ar[0]);
// ANNOTATE_TRACE_MEMORY(&ar[31]);
ar[0] = 1;
Modified: trunk/exp-ptrcheck/tests/arith_include2.c
===================================================================
--- trunk/exp-ptrcheck/tests/arith_include2.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/arith_include2.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -15,7 +15,7 @@
struct sigaction sigsegv;
// Scratch values
- long a, tn;
+ long a, tn __attribute__((unused));
long* tp;
// Known pointers
Modified: trunk/exp-ptrcheck/tests/hp_bounds.c
===================================================================
--- trunk/exp-ptrcheck/tests/hp_bounds.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/hp_bounds.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -2,7 +2,7 @@
int main(void)
{
- int y;
+ int y __attribute__((unused));
int* x = malloc(sizeof(int) * 100);
y = x[95]; // ok
Modified: trunk/exp-ptrcheck/tests/hp_dangle.c
===================================================================
--- trunk/exp-ptrcheck/tests/hp_dangle.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/hp_dangle.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -11,7 +11,7 @@
int main(void)
{
- int y;
+ int y __attribute__((unused));
int* x = mk_dangle();
y = x[5];
Modified: trunk/exp-ptrcheck/tests/justify.c
===================================================================
--- trunk/exp-ptrcheck/tests/justify.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/justify.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -10,7 +10,7 @@
int main ( void )
{
- char c;
+ char c __attribute__((unused));
char *c0, *c1;
c0 = malloc(10000);
Modified: trunk/exp-ptrcheck/tests/mm.c
===================================================================
--- trunk/exp-ptrcheck/tests/mm.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/mm.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -15,7 +15,7 @@
{
struct sigaction sigsegv;
- char c;
+ char c __attribute__((unused));
// This fails due to a bad fd (at one point I was not handling failing
// mmap() calls, and would have got a seg fault).
Modified: trunk/exp-ptrcheck/tests/partial.c
===================================================================
--- trunk/exp-ptrcheck/tests/partial.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/partial.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -3,12 +3,17 @@
int main ( void )
{
- int* x3 = malloc(3); float f, *f3 = malloc(3);
- int* x4 = malloc(4); double d, *d7 = malloc(7);
- int* x5 = malloc(5); long long int lli, *lli7 = malloc(7);
- int* x6 = malloc(6); char c, *c0 = malloc(0);
- int* x7 = malloc(7); short int s, *s1 = malloc(1);
- int x;
+ int* x3 = malloc(3);
+ float f __attribute__((unused)), *f3 = malloc(3);
+ int* x4 = malloc(4);
+ double d __attribute__((unused)), *d7 = malloc(7);
+ int* x5 = malloc(5);
+ long long int lli __attribute__((unused)), *lli7 = malloc(7);
+ int* x6 = malloc(6);
+ char c __attribute__((unused)), *c0 = malloc(0);
+ int* x7 = malloc(7);
+ short int s __attribute__((unused)), *s1 = malloc(1);
+ int x __attribute__((unused));
int* y4 = malloc(4);
int* y5 = malloc(5);
int* y6 = malloc(6);
Modified: trunk/exp-ptrcheck/tests/pth_specific.c
===================================================================
--- trunk/exp-ptrcheck/tests/pth_specific.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/pth_specific.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -12,7 +12,7 @@
{
pthread_key_t key;
char *x, *z;
- char y;
+ char y __attribute__((unused));
x = malloc(100);
Modified: trunk/exp-ptrcheck/tests/realloc.c
===================================================================
--- trunk/exp-ptrcheck/tests/realloc.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/realloc.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -3,11 +3,11 @@
int main(void)
{
- int i;
- int* y;
+ int i __attribute__((unused));
+ int* y __attribute__((unused));
int** x = malloc(sizeof(int*) * 100);
int* x2 = malloc(sizeof(int) * 100);
- void* sink;
+ void* sink __attribute__((unused));
x[0] = x2; // this is to check the pointerness is copied across ok
x[49] = x2; // this is to check the pointerness is copied across ok
Modified: trunk/exp-ptrcheck/tests/strlen.c
===================================================================
--- trunk/exp-ptrcheck/tests/strlen.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/strlen.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -13,7 +13,7 @@
char* h = "hello, world";
char* p = strdup(h);
char u[20];
- char* c;
+ char* c __attribute__((unused));
int len;
len = strlen(p);
Modified: trunk/exp-ptrcheck/tests/unaligned.c
===================================================================
--- trunk/exp-ptrcheck/tests/unaligned.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/unaligned.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -6,7 +6,7 @@
int main ( void )
{
char* x = strdup("hello");
- char c;
+ char c __attribute__((unused));
char c0[8], c1[8], c2[8], c3[8], c4[8];
// Each of these pointers has a different alignment
Modified: trunk/exp-ptrcheck/tests/zero.c
===================================================================
--- trunk/exp-ptrcheck/tests/zero.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/exp-ptrcheck/tests/zero.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -5,7 +5,7 @@
int main ( void )
{
- char c, *c0 = malloc(0), *c1;
+ char c __attribute__((unused)), *c0 = malloc(0), *c1;
c = *c0; // bad
Modified: trunk/helgrind/helgrind.h
===================================================================
--- trunk/helgrind/helgrind.h 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/helgrind/helgrind.h 2011-04-03 17:42:19 UTC (rev 11682)
@@ -144,7 +144,7 @@
#define DO_CREQ_v_W(_creqF, _ty1F,_arg1F) \
do { \
- long int _unused_res, _arg1; \
+ long _unused_res __attribute__((unused)), _arg1; \
/* assert(sizeof(_ty1F) == sizeof(long int)); */ \
_arg1 = (long int)(_arg1F); \
VALGRIND_DO_CLIENT_REQUEST(_unused_res, 0, \
@@ -165,7 +165,8 @@
#define DO_CREQ_v_WW(_creqF, _ty1F,_arg1F, _ty2F,_arg2F) \
do { \
- long int _unused_res, _arg1, _arg2; \
+ long _unused_res __attribute__((unused)); \
+ long _arg1, _arg2; \
/* assert(sizeof(_ty1F) == sizeof(long int)); */ \
/* assert(sizeof(_ty2F) == sizeof(long int)); */ \
_arg1 = (long int)(_arg1F); \
@@ -178,7 +179,8 @@
#define DO_CREQ_v_WWW(_creqF, _ty1F,_arg1F, \
_ty2F,_arg2F, _ty3F, _arg3F) \
do { \
- long int _unused_res, _arg1, _arg2, _arg3; \
+ long _unused_res __attribute__((unused)); \
+ long _arg1, _arg2, _arg3; \
/* assert(sizeof(_ty1F) == sizeof(long int)); */ \
/* assert(sizeof(_ty2F) == sizeof(long int)); */ \
/* assert(sizeof(_ty3F) == sizeof(long int)); */ \
Modified: trunk/helgrind/tests/tc18_semabuse.c
===================================================================
--- trunk/helgrind/tests/tc18_semabuse.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/helgrind/tests/tc18_semabuse.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -16,7 +16,7 @@
void start_watchdog ( void );
int main ( void )
{
- int r;
+ int r __attribute__((unused));
sem_t s1;
start_watchdog();
/* Do sem_init with huge initial count */
Modified: trunk/massif/tests/realloc.c
===================================================================
--- trunk/massif/tests/realloc.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/massif/tests/realloc.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -3,7 +3,7 @@
int main(void)
{ // All sizes are multiples of 16 -- no slop.
int* x = realloc(NULL, 800); // equivalent to malloc(800), and ends up
- int* y; // calling Valgrind's (and Massif's) malloc
+ int* y __attribute__((unused)); // calling Valgrind's (and Massif's) malloc
x = realloc(x, 800); // same size
Modified: trunk/memcheck/tests/error_counts.c
===================================================================
--- trunk/memcheck/tests/error_counts.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/error_counts.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -8,9 +8,9 @@
{
int x;
int y = 0;
- int* reachable;
+ int* reachable __attribute__((unused));
int* dubious;
- int* leaked;
+ int* leaked __attribute__((unused));
DECLARE_LEAK_COUNTERS;
/* we require these longs to have same size as a machine word */
Modified: trunk/memcheck/tests/linux/brk.c
===================================================================
--- trunk/memcheck/tests/linux/brk.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/linux/brk.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -12,7 +12,7 @@
void* orig_ds = sbrk(0);
void* ds = orig_ds;
void* vals[10];
- void* res;
+ void* res __attribute__((unused));
#define EOL ((void*)( ~(long)0 ))
vals[0] = (void*)0;
vals[1] = (void*)1;
Modified: trunk/memcheck/tests/linux/stack_switch.c
===================================================================
--- trunk/memcheck/tests/linux/stack_switch.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/linux/stack_switch.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -32,7 +32,7 @@
int main(int argc, char **argv)
{
void *stack;
- int stackid;
+ int stackid __attribute__((unused));
pid_t pid;
/* "2*" is a ppc64-linux hack */
Modified: trunk/memcheck/tests/strchr.c
===================================================================
--- trunk/memcheck/tests/strchr.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/strchr.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -7,7 +7,7 @@
int main(int argc, char* argv[])
{
- char *s, *a, *b;
+ char *s, *a __attribute__((unused)), *b __attribute__((unused));
s = malloc(sizeof(char));
// Nb: s[0] is uninitialised, but almost certainly a zero
Modified: trunk/memcheck/tests/trivialleak.c
===================================================================
--- trunk/memcheck/tests/trivialleak.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/trivialleak.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -2,7 +2,7 @@
static void test()
{
- void* leak;
+ void* leak __attribute__((unused));
int i;
for (i = 0; i < 1000; i++)
leak = (void*)malloc( 1 );
Modified: trunk/memcheck/tests/x86-linux/scalar_exit_group.c
===================================================================
--- trunk/memcheck/tests/x86-linux/scalar_exit_group.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/x86-linux/scalar_exit_group.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -5,7 +5,7 @@
// uninitialised, but we know px[0] is 0x0
long* px = malloc(sizeof(long));
long x0 = px[0];
- int res;
+ int res __attribute__((unused));
// All __NR_xxx numbers are taken from x86
Modified: trunk/memcheck/tests/x86-linux/scalar_fork.c
===================================================================
--- trunk/memcheck/tests/x86-linux/scalar_fork.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/x86-linux/scalar_fork.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -2,7 +2,7 @@
int main(void)
{
- int res;
+ int res __attribute__((unused));
// All __NR_xxx numbers are taken from x86
Modified: trunk/memcheck/tests/x86-linux/scalar_vfork.c
===================================================================
--- trunk/memcheck/tests/x86-linux/scalar_vfork.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/memcheck/tests/x86-linux/scalar_vfork.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -2,7 +2,7 @@
int main(void)
{
- int res;
+ int res __attribute__((unused));
// All __NR_xxx numbers are taken from x86
Modified: trunk/none/tests/bug129866.c
===================================================================
--- trunk/none/tests/bug129866.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/none/tests/bug129866.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -25,7 +25,7 @@
int main ( void )
{
- char *a1, *b1, *a2, *b2;
+ char *a1, *b1, *a2 __attribute__((unused)), *b2 __attribute__((unused));
printf("started\n");
a1 = touch_malloc(1600000) ;
b1 = touch_malloc(200000) ;
Modified: trunk/none/tests/coolo_sigaction.cpp
===================================================================
--- trunk/none/tests/coolo_sigaction.cpp 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/none/tests/coolo_sigaction.cpp 2011-04-03 17:42:19 UTC (rev 11682)
@@ -42,12 +42,11 @@
{
int i;
char buffer[200];
- size_t dummy_size_t;
setupHandlers();
FILE *p = popen("echo Hallo World", "r");
while (!feof(p)) {
int n = fread(buffer, 200, 1, p);
- dummy_size_t = write(2, buffer, n);
+ write(2, buffer, n);
}
fclose(p);
for (i = 0; i < 1000000; i++) ;
Modified: trunk/none/tests/linux/mremap2.c
===================================================================
--- trunk/none/tests/linux/mremap2.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/none/tests/linux/mremap2.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -74,7 +74,7 @@
/* show the working area */
void show ( void )
{
- int i,r;
+ int i,r __attribute__((unused));
for (i = 0; i < 200; i++) {
r = mprotect( workingarea + i * PAGE, PAGE, PROT_NONE );
// We used to print 'X' or '.' according to the mprotect result, but the
Modified: trunk/none/tests/x86/aad_aam.c
===================================================================
--- trunk/none/tests/x86/aad_aam.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/none/tests/x86/aad_aam.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -18,7 +18,8 @@
printf("test begins\n");
unsigned short i,out;
unsigned int flags;
- int cf,pf,af,zf,sf,of;
+ int cf __attribute__((unused)),pf,af __attribute__((unused)),zf,sf;
+ int of __attribute__((unused));
/* test AAM */
Modified: trunk/perf/sarp.c
===================================================================
--- trunk/perf/sarp.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/perf/sarp.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -31,7 +31,7 @@
{
int i, sum = 0;
- struct timespec req;
+ struct timespec req __attribute__((unused));
req.tv_sec = 0;
req.tv_nsec = 100*1000*1000; // 0.1s
Modified: trunk/perf/tinycc.c
===================================================================
--- trunk/perf/tinycc.c 2011-04-03 16:46:01 UTC (rev 11681)
+++ trunk/perf/tinycc.c 2011-04-03 17:42:19 UTC (rev 11682)
@@ -17975,7 +17975,8 @@
{
CString astr, astr1;
ASMOperand operands[MAX_ASM_OPERANDS];
- int nb_inputs, nb_outputs, nb_operands, i, must_subst, out_reg;
+ int nb_inputs __attribute__((unused));
+ int nb_outputs, nb_operands, i, must_subst, out_reg;
uint8_t clobber_regs[NB_ASM_REGS];
next();
@@ -18916,7 +18917,7 @@
/* build GOT and PLT entries */
static void build_got_entries(TCCState *s1)
{
- Section *s, *symtab;
+ Section *s, *symtab __attribute__((unused));
Elf32_Rel *rel, *rel_end;
Elf32_Sym *sym;
int i, type, reloc_type, sym_index;
@@ -20590,7 +20591,7 @@
static int rt_get_caller_pc(unsigned long *paddr,
ucontext_t *uc, int level)
{
- unsigned long fp;
+ unsigned long fp __attribute__((unused));
//int i;
if (level == 0) {
@@ -20757,7 +20758,7 @@
{
const char *p, *r;
TCCState *s;
- TokenSym *ts;
+ TokenSym *ts __attribute__((unused));
int i, c;
s = tcc_mallocz(sizeof(TCCState));
|
|
From: <sv...@va...> - 2011-04-03 16:46:10
|
Author: bart
Date: 2011-04-03 17:46:01 +0100 (Sun, 03 Apr 2011)
New Revision: 11681
Log:
Also consider libpthread when testing for functions. Removed test for floor().
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2011-03-30 18:59:56 UTC (rev 11680)
+++ trunk/configure.in 2011-04-03 16:46:01 UTC (rev 11681)
@@ -1602,13 +1602,13 @@
AC_FUNC_MMAP
AC_TYPE_SIGNAL
+AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([rt], [clock_gettime])
AC_CHECK_FUNCS([ \
clock_gettime\
epoll_create \
epoll_pwait \
- floor \
klogctl \
mallinfo \
memchr \
|