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 4d6202e..7fd80a0 100644 (file)
@@ -1,5 +1,11 @@
 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
        * gcc.dg/pr78973.c: Xfail on ILP32 targets.
 
index b58a55f..025efda 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;
-}
-
-
-