Hi,
This patch fixes c-c++-common/asan/use-after-return-1.c not to fail on
darwin target (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59897).
Ok to commit?
-Maxim.
2014-01-21 Dominique Dhumieres <domi...@lps.ens.fr>
* c-c++-common/asan/use-after-return-1.c: Fixed
to pass on darwin.
diff --git a/gcc/testsuite/c-c++-common/asan/use-after-return-1.c b/gcc/testsuite/c-c++-common/asan/use-after-return-1.c
index 435637d..49933e5 100644
--- a/gcc/testsuite/c-c++-common/asan/use-after-return-1.c
+++ b/gcc/testsuite/c-c++-common/asan/use-after-return-1.c
@@ -48,6 +48,6 @@ int main(int argc, char **argv) {
}
/* { dg-output "WRITE of size 1 at .* thread T0.*" } */
-/* { dg-output " #0.*Func2.*use-after-return-1.c:31.*" } */
+/* { dg-output " #0.*(Func2)?.*use-after-return-1.(c:31)?.*" } */
/* { dg-output "is located in stack of thread T0 at offset.*" } */
/* { dg-output "\'local\' <== Memory access at offset 32 is inside this variable" } */