PR c/79074 - -Waddress difference between C and C++ with (T*)0
authorMartin Sebor <msebor@redhat.com>
Thu, 12 Jan 2017 18:07:51 +0000 (18:07 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Thu, 12 Jan 2017 18:07:51 +0000 (11:07 -0700)
gcc/testsuite/ChangeLog:
* c-c++-common/Waddress-2.c: Remove a test to avoid a C failure
due to the referenced bug.

From-SVN: r244378

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Waddress-2.c

index 4d6202e1d1b86e195b6528e1fe69da54b90b3b70..7fd80a03fb94203bca55cc8c5329be0aec09eb73 100644 (file)
@@ -1,3 +1,9 @@
+2017-01-12  Martin Sebor  <msebor@redhat.com>
+
+       PR c/79074
+       * c-c++-common/Waddress-2.c: Remove a test to avoid a C failure
+       due to the referenced bug.
+
 2017-01-12  Martin Sebor  <msebor@redhat.com>
 
        PR testsuite/79073
index b58a55fe95faafb7b234413dc204a7dfa9c742bc..025efda12cb9ab312b16a3e0489dec0070331658 100644 (file)
@@ -20,11 +20,3 @@ int f2 (void)
 {
   return &i != NULL;   /* { dg-warning "the address of .i. will never be NULL" } */
 }
-
-int f3 (void)
-{
-  return &i != (int *) 0;
-}
-
-
-