mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 00:35:07 +08:00
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:
parent
b94142c956
commit
afeb58ed77
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user