re PR middle-end/36509 (gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c)

PR middle-end/36509
	* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: XFAIL.

From-SVN: r138018
This commit is contained in:
Hans-Peter Nilsson 2008-07-21 01:15:18 +00:00 committed by Hans-Peter Nilsson
parent b94142c956
commit afeb58ed77
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-07-21 Hans-Peter Nilsson <hp@axis.com>
PR middle-end/36509
* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: XFAIL.
2008-07-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/36879

View File

@ -11,9 +11,9 @@ int foo() {
float* r;
if (flag) {
q = (float*) &x; /* { dg-warning "type-punn" } */
q = (float*) &x; /* { dg-warning "type-punn" "" { xfail *-*-* } } */
} else {
q = (float*) &y; /* { dg-warning "type-punn" } */
q = (float*) &y; /* { dg-warning "type-punn" "" { xfail *-*-* } } */
}
*q = 1.0;