noexcept30.C: Make dependence on -fdelete-null-pointer-checks explicit.
authorSandra Loosemore <sandra@codesourcery.com>
Thu, 30 Aug 2018 21:27:44 +0000 (17:27 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Thu, 30 Aug 2018 21:27:44 +0000 (17:27 -0400)
2018-08-30  Sandra Loosemore  <sandra@codesourcery.com>

gcc/testsuite/
* g++.dg/cpp0x/noexcept30.C: Make dependence on
-fdelete-null-pointer-checks explicit.
* g++.dg/cpp1y/constexpr-82218.C: Likewise.
* g++.dg/expr/pmf-3.C: Likewise.
* g++.dg/ext/attr-returns-nonnull.C: Likewise.
* g++.dg/tree-ssa/lifetime-dse1.C: Likewise.
* g++.dg/tree-ssa/pr61034.C: Likewise.
* gcc.dg/addr_equal-1.c: Likewise.
* gcc.dg/ipa/pr85734.c: Likewise.
* gcc.dg/ipa/propmalloc-1.c: Likewise.
* gcc.dg/ipa/propmalloc-2.c: Likewise.
* gcc.dg/ipa/propmalloc-3.c: Likewise.
* gcc.dg/tree-ssa/pr78154.c: Likewise.
* gcc.dg/tree-ssa/pr83648.c: Likewise.

libstdc++-v3/
* testsuite/experimental/propagate_const/observers/1.cc: Make
dependence on -fdelete-null-pointer-checks explicit.

From-SVN: r264001

16 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept30.C
gcc/testsuite/g++.dg/cpp1y/constexpr-82218.C
gcc/testsuite/g++.dg/expr/pmf-3.C
gcc/testsuite/g++.dg/ext/attr-returns-nonnull.C
gcc/testsuite/g++.dg/tree-ssa/lifetime-dse1.C
gcc/testsuite/g++.dg/tree-ssa/pr61034.C
gcc/testsuite/gcc.dg/addr_equal-1.c
gcc/testsuite/gcc.dg/ipa/pr85734.c
gcc/testsuite/gcc.dg/ipa/propmalloc-1.c
gcc/testsuite/gcc.dg/ipa/propmalloc-2.c
gcc/testsuite/gcc.dg/ipa/propmalloc-3.c
gcc/testsuite/gcc.dg/tree-ssa/pr78154.c
gcc/testsuite/gcc.dg/tree-ssa/pr83648.c
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/propagate_const/observers/1.cc

index 700b86ab1351d3c5c67c98f775b1169a3234e044..ea4436c807c06337f0c9e2556221eb557a841426 100644 (file)
@@ -1,3 +1,20 @@
+2018-08-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * g++.dg/cpp0x/noexcept30.C: Make dependence on
+       -fdelete-null-pointer-checks explicit.
+       * g++.dg/cpp1y/constexpr-82218.C: Likewise.
+       * g++.dg/expr/pmf-3.C: Likewise.
+       * g++.dg/ext/attr-returns-nonnull.C: Likewise.
+       * g++.dg/tree-ssa/lifetime-dse1.C: Likewise.
+       * g++.dg/tree-ssa/pr61034.C: Likewise.
+       * gcc.dg/addr_equal-1.c: Likewise.
+       * gcc.dg/ipa/pr85734.c: Likewise.
+       * gcc.dg/ipa/propmalloc-1.c: Likewise.
+       * gcc.dg/ipa/propmalloc-2.c: Likewise.
+       * gcc.dg/ipa/propmalloc-3.c: Likewise.
+       * gcc.dg/tree-ssa/pr78154.c: Likewise.
+       * gcc.dg/tree-ssa/pr83648.c: Likewise.
+
 2018-08-30  Martin Sebor  <msebor@redhat.com>
 
        PR testsuite/87158
index c51e94e75738cc9b6d60b211f8413e8a4235dd71..8c7ff2aad45006cd7afd6a55fff02096689870b6 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/69300
 // { dg-do compile { target c++11 } }
+// { dg-options "-fdelete-null-pointer-checks" }
 
 template<typename A>
 struct F {
index 06507a9f437b9c83f5285d6991974115be1ffae5..eb8d1e040cc8de8ddbd4b57d3906c197e29d37b7 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/82218
 // { dg-do compile { target c++14 } }
+// { dg-options "-fdelete-null-pointer-checks" }
 
 template<typename _Tp>
 struct identity
index fac42fc23a55ba468ba56a8a3851f18db047b7c3..b94cd8ea63827abdfcfd8090238d77d65bde7d6a 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/80485
 // { dg-do compile { target c++11 } }
+// { dg-options "-fdelete-null-pointer-checks" }
 
 struct dummy {
   void nonnull() {};
index f75f32e46e884e616e03597d842aca3e9e021049..46d1fa0e7fb610b22693811c60896dfdad437286 100644 (file)
@@ -4,7 +4,7 @@
 // does not "inherit" attribute nonnull from an argument declared with
 // one in the primary template.
 // { dg-do compile }
-// { dg-options "-O -Wall -fdump-tree-optimized" }
+// { dg-options "-O -Wall -fdump-tree-optimized -fdelete-null-pointer-checks" }
 
 template <class T>
 void* __attribute__ ((returns_nonnull))
index 90c90f2650c9e2197dfdc6e52cb68e8fbaeb8ce9..0b7451d42b36f29b21ea1aa51a2a2dbe522a4128 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/61982
-// { dg-additional-options "-O2 -fdump-tree-optimized" }
+// { dg-additional-options "-O2 -fdump-tree-optimized -fdelete-null-pointer-checks" }
 // { dg-final { scan-tree-dump-not "= 0" "optimized" } }
 
 struct X { 
index 023655b20fb966d3a79f73ca3c4601b2b0ebdcfa..870b23721668dd3c106dbeafc5d2e8b922730acc 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-O2 -fdump-tree-fre3 -fdump-tree-optimized" }
+// { dg-options "-O2 -fdump-tree-fre3 -fdump-tree-optimized -fdelete-null-pointer-checks" }
 
 #define assume(x) if(!(x))__builtin_unreachable()
 
index dd237a7d3cdab996d338b71ad4b88a9eadb20f2f..70fa35464c11badc601b9cec2f0c7beb8149ad0c 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target nonpic } */
 /* { dg-require-weak "" } */
 /* { dg-require-alias "" } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fdelete-null-pointer-checks" } */
 /* { dg-skip-if "" { powerpc-ibm-aix* } } */
 void abort (void);
 extern int undef_var0, undef_var1;
index e5fa21f0548368396e9b4f9bdd59b2297dea06e0..cbd524b1e8d5e2dc663b4bf4020d29898ecdc29a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -Wsuggest-attribute=malloc" } */
+/* { dg-options "-O2 -Wsuggest-attribute=malloc -fdelete-null-pointer-checks" } */
 
 __attribute__((noinline))
 static void *f1(__SIZE_TYPE__ sz) /* { dg-bogus "function might be candidate for attribute 'malloc'" } */
index 9a95f8170792d871ee1ad366c71eb00afad7e984..48136275590a06f60670a73194b47cc0c6f0c406 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-pure-const-details" } */
+/* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */
 
 __attribute__((noinline, no_icf, used))
 static void *f(__SIZE_TYPE__ n)
index 95b2fd74a7a2c473c2c18612777ab4b371f6c888..4ad8fb1e7512e2532c13edcea846c403c4ac24e4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-pure-const-details" } */
+/* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */
 
 __attribute__((noinline, used, no_icf))
 static void *foo (__SIZE_TYPE__ n)
index 13558ddd07df55a20f13487d94308b1645974c0f..c32254489a57b69f0bd4335ef7cf36f81f9ed1af 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-pure-const-details" } */
+/* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */
 
 static void *foo(__SIZE_TYPE__, int) __attribute__((noinline, no_icf, used));
 
index d908a39dcd6c91fee36895c521ece7e4bfa93620..b561503a00090fd58e986522fcc205bb3438872f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-evrp-slim" } */
+/* { dg-options "-O2 -fdump-tree-evrp-slim -fdelete-null-pointer-checks" } */
 
 void f(void *d, const void *s, __SIZE_TYPE__ n)
 {
index 884faf81167414684f10544ec00bb8fe515de036..954eb2f0f4f088f8d48c9b4255551a18cb7dc113 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-local-pure-const-details" } */
+/* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */
 
 void *g(unsigned n)
 {
index 98288521abd41eaa7b06af546bb058af039375ef..d14bbaa9d382bc19388115f9697cfc7b1a838e13 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * testsuite/experimental/propagate_const/observers/1.cc: Make
+       dependence on -fdelete-null-pointer-checks explicit.
+
 2018-08-30  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/hashtable_policy.h (__clp2): Fix calculation for LLP64
index 24aa1a10c4756d53a1f4f363d0d6ef5331de7056..512c64d0b0611bde3736ef727d3be48c06568b62 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++14 } }
+// { dg-options "-fdelete-null-pointer-checks" }
 
 // Copyright (C) 2015-2018 Free Software Foundation, Inc.
 //