Commit 2bcd9f32 by Martin Sebor Committed by Martin Sebor

PR c/79074 - -Waddress difference between C and C++ with (T*)0

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
parent b2fc1c70
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.
......
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment