3e42d11
--- valgrind/memcheck/tests/x86-linux/scalar.c	(revision 11801)
3e42d11
+++ valgrind/memcheck/tests/x86-linux/scalar.c	(revision 11802)
3e42d11
@@ -1,3 +1,5 @@
3e42d11
+#define _GNU_SOURCE
3e42d11
+
3e42d11
 #include "../../memcheck.h"
3e42d11
 #include "scalar.h"
3e42d11
 #include <unistd.h>
3e42d11
--- valgrind/memcheck/tests/x86-linux/scalar.stderr.exp	(revision 11801)
3e42d11
+++ valgrind/memcheck/tests/x86-linux/scalar.stderr.exp	(revision 11802)
3e42d11
@@ -578,25 +578,25 @@
3e42d11
    ...
3e42d11
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param sigaction(act->sa_mask) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param sigaction(act->sa_flags) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
  Address 0x........ is 8 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param sigaction(oldact) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 -----------------------------------------------------
3e42d11
  68:       __NR_sgetmask n/a
3e42d11
@@ -1228,13 +1228,13 @@
3e42d11
    ...
3e42d11
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param sigprocmask(oldset) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
  Address 0x........ is 0 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 -----------------------------------------------------
3e42d11
 127:  __NR_create_module ni
3e42d11
@@ -1747,7 +1747,7 @@
3e42d11
    ...
3e42d11
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param rt_sigaction(act->sa_mask) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
@@ -1757,13 +1757,13 @@
3e42d11
    ...
3e42d11
  Address 0x........ is 8 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 Syscall param rt_sigaction(oldact) points to unaddressable byte(s)
3e42d11
    ...
3e42d11
  Address 0x........ is 4 bytes after a block of size 4 alloc'd
3e42d11
    at 0x........: malloc (vg_replace_malloc.c:...)
3e42d11
-   by 0x........: main (scalar.c:28)
3e42d11
+   by 0x........: main (scalar.c:30)
3e42d11
 
3e42d11
 -----------------------------------------------------
3e42d11
 175: __NR_rt_sigprocmask 4s 2m
3e42d11
--- valgrind/memcheck/tests/linux/stack_switch.c	(revision 11801)
3e42d11
+++ valgrind/memcheck/tests/linux/stack_switch.c	(revision 11802)
3e42d11
@@ -1,5 +1,6 @@
3e42d11
 #define _XOPEN_SOURCE 600
3e42d11
 #define _BSD_SOURCE
3e42d11
+#define _GNU_SOURCE
3e42d11
 
3e42d11
 #include <stdio.h>
3e42d11