aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2017-01-12 17:43:16 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2017-01-12 10:43:16 -0700
commitb2fc1c705024f4d835a801c615c799fbb1fbb282 (patch)
treefc8d7659dd27cbfb39471d3a875582f88c2ecd7f /gcc
parentfbed6f36955aefc4b8735e7f62585fcc3d14f50b (diff)
downloadgcc-b2fc1c705024f4d835a801c615c799fbb1fbb282.zip
gcc-b2fc1c705024f4d835a801c615c799fbb1fbb282.tar.gz
gcc-b2fc1c705024f4d835a801c615c799fbb1fbb282.tar.bz2
PR testsuite/79073 - FAIL: gcc.dg/pr78973.c (test for warnings, line 12) in ILP32
gcc/testsuite/ChangeLog: * gcc.dg/pr78973.c: Xfail on ILP32 targets. From-SVN: r244377
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/pr78973.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 631a8a3..4d6202e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-12 Martin Sebor <msebor@redhat.com>
+
+ PR testsuite/79073
+ * gcc.dg/pr78973.c: Xfail on ILP32 targets.
+
2017-01-12 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/builtin_target.c (check_features): Check all
diff --git a/gcc/testsuite/gcc.dg/pr78973.c b/gcc/testsuite/gcc.dg/pr78973.c
index a6195f0..6c53f89 100644
--- a/gcc/testsuite/gcc.dg/pr78973.c
+++ b/gcc/testsuite/gcc.dg/pr78973.c
@@ -4,12 +4,12 @@
deeper investigation turned out to be a true positive.
{ dg-do compile }
- { dg-options "-O2 -Wall" } */
+ { dg-options "-O2 -Wall" } */
void f (void *p, int n)
{
if (n <= 4)
- __builtin_memset (p, 0, n); /* { dg-warning "exceeds maximum object size" } */
+ __builtin_memset (p, 0, n); /* { dg-warning "exceeds maximum object size" "pr79073" { xfail ilp32 } } */
}
void g (void *d, unsigned n)