aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@gcc.gnu.org>2019-10-27 21:33:09 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2019-10-27 21:33:09 +0100
commite5c10eb89bae07cb2f2d992886d318c737572711 (patch)
treedc4c19f8ec73dffed1a1fcc73f2d40db272180e8 /gcc
parenta9b64a615428ba6dad0dfe9b2d513a2d41db02dc (diff)
downloadgcc-e5c10eb89bae07cb2f2d992886d318c737572711.zip
gcc-e5c10eb89bae07cb2f2d992886d318c737572711.tar.gz
gcc-e5c10eb89bae07cb2f2d992886d318c737572711.tar.bz2
fprintf-2.c: Silence a Free/NetBSD libc warning.
2019-10-27 Andreas Tobler <andreast@gcc.gnu.org> * gcc.c-torture/execute/fprintf-2.c: Silence a Free/NetBSD libc warning. * gcc.c-torture/execute/printf-2.c: Likewise. * gcc.c-torture/execute/user-printf.c: Likewise. From-SVN: r277491
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/fprintf-2.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/printf-2.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/user-printf.c1
4 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 70e24fd..86c2da1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2019-10-27 Andreas Tobler <andreast@gcc.gnu.org>
+
+ * gcc.c-torture/execute/fprintf-2.c: Silence a Free/NetBSD libc warning.
+ * gcc.c-torture/execute/printf-2.c: Likewise.
+ * gcc.c-torture/execute/user-printf.c: Likewise.
+
2019-10-27 Paul Thomas <pault@gcc.gnu.org>
PR fortran/86248
diff --git a/gcc/testsuite/gcc.c-torture/execute/fprintf-2.c b/gcc/testsuite/gcc.c-torture/execute/fprintf-2.c
index 7280b9b..c723867 100644
--- a/gcc/testsuite/gcc.c-torture/execute/fprintf-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/fprintf-2.c
@@ -1,6 +1,7 @@
/* Verify that calls to fprintf don't get eliminated even if their
result on success can be computed at compile time (they can fail).
The calls can still be transformed into those of other functions.
+ { dg-prune-output "warning: warning: \[^\n\r\]* possibly used unsafely" }
{ dg-skip-if "requires io" { avr-*-* } }
{ dg-skip-if "requires io" { freestanding } } */
diff --git a/gcc/testsuite/gcc.c-torture/execute/printf-2.c b/gcc/testsuite/gcc.c-torture/execute/printf-2.c
index c2d729a..57f467e 100644
--- a/gcc/testsuite/gcc.c-torture/execute/printf-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/printf-2.c
@@ -2,6 +2,7 @@
result on success can be computed at compile time (they can fail).
The calls can still be transformed into those of other functions.
{ dg-require-effective-target unwrapped }
+ { dg-prune-output "warning: warning: \[^\n\r\]* possibly used unsafely" }
{ dg-skip-if "requires io" { avr-*-* } }
{ dg-skip-if "requires io" { freestanding } } */
diff --git a/gcc/testsuite/gcc.c-torture/execute/user-printf.c b/gcc/testsuite/gcc.c-torture/execute/user-printf.c
index 0f81bec..006d99e 100644
--- a/gcc/testsuite/gcc.c-torture/execute/user-printf.c
+++ b/gcc/testsuite/gcc.c-torture/execute/user-printf.c
@@ -2,6 +2,7 @@
don't get eliminated even if their result on success can be computed at
compile time (they can fail).
{ dg-require-effective-target unwrapped }
+ { dg-prune-output "warning: warning: \[^\n\r\]* possibly used unsafely" }
{ dg-skip-if "requires io" { avr-*-* } }
{ dg-skip-if "requires io" { freestanding } } */