diff options
Diffstat (limited to 'debian/patches/testsuite-hardening-format.diff')
-rw-r--r-- | debian/patches/testsuite-hardening-format.diff | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/debian/patches/testsuite-hardening-format.diff b/debian/patches/testsuite-hardening-format.diff index 7d977fe..8c0d9b1 100644 --- a/debian/patches/testsuite-hardening-format.diff +++ b/debian/patches/testsuite-hardening-format.diff @@ -29,7 +29,6 @@ esac exit 0 --- - src/boehm-gc/testsuite/boehm-gc.c/middle.c | 3 +++ src/gcc/testsuite/c-c++-common/torture/vector-compare-1.c | 1 + src/gcc/testsuite/g++.dg/abi/pragma-pack1.C | 2 ++ src/gcc/testsuite/g++.dg/abi/regparm1.C | 1 + @@ -140,7 +139,7 @@ Index: b/src/gcc/testsuite/gcc.dg/pr59418.c /* { dg-do compile } */ -/* { dg-options "-Os -g" } */ +/* { dg-options "-Os -g -Wno-format-zero-length" } */ - /* { dg-options "-march=armv7-a -mfloat-abi=hard -Os -g" { target { arm*-*-* && { ! arm_thumb1 } } } } */ + /* { dg-options "-march=armv7-a+fp -mfloat-abi=hard -Os -g" { target { arm*-*-* && { ! arm_thumb1 } } } } */ extern int printf (const char *__format, ...); Index: b/src/gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c @@ -253,20 +252,6 @@ Index: b/src/gcc/testsuite/gcc.dg/torture/tls/tls-test.c #include <pthread.h> extern int printf (char *,...); -Index: b/src/boehm-gc/testsuite/boehm-gc.c/middle.c -=================================================================== ---- a/src/boehm-gc/testsuite/boehm-gc.c/middle.c -+++ b/src/boehm-gc/testsuite/boehm-gc.c/middle.c -@@ -2,6 +2,9 @@ - * Test at the boundary between small and large objects. - * Inspired by a test case from Zoltan Varga. - */ -+ -+/* { dg-options "-Wformat=0" } */ -+ - #include <gc.h> - #include <stdio.h> - Index: b/src/gcc/testsuite/objc.dg/torture/strings/const-str-3.m =================================================================== --- a/src/gcc/testsuite/objc.dg/torture/strings/const-str-3.m @@ -322,9 +307,9 @@ Index: b/src/gcc/testsuite/g++.dg/torture/pr51436.C @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-Wno-nonnull" } */ + /* { dg-additional-options "-Wno-return-type" } */ typedef __SIZE_TYPE__ size_t; - extern "C" void *memcpy (void *, __const void *, size_t); Index: b/src/gcc/testsuite/g++.old-deja/g++.law/weak.C =================================================================== --- a/src/gcc/testsuite/g++.old-deja/g++.law/weak.C |