re PR middle-end/36509 (gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c)
authorHans-Peter Nilsson <hp@axis.com>
Mon, 21 Jul 2008 01:15:18 +0000 (01:15 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 21 Jul 2008 01:15:18 +0000 (01:15 +0000)
PR middle-end/36509
* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: XFAIL.

From-SVN: r138018

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c

index 8eea44725d937aeb370a01e0875d65c7d1cd63f6..2e352b5c0c6a8f0e794871dc542de8f4cca8fa78 100644 (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
index 7780fa6fcd65e146b82b6ff116d2f57624986b33..7371915741103249f90a39dc2550c67fcf549a5b 100644 (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;