* g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Add labels to
directives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186216
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-04-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Add labels to
+ directives.
+
2012-04-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/52893
int foo() {
int x;
- float& q = reinterpret_cast<float&> (x); /* { dg-message "dereferencing type-punned" "" { target *-*-* } } */
- q = 1.0; /* { dg-warning "does break strict-aliasing" "" { xfail *-*-* } } */
+ float& q = reinterpret_cast<float&> (x); /* { dg-message "dereferencing type-punned" "deref" { target *-*-* } } */
+ q = 1.0; /* { dg-warning "does break strict-aliasing" "strict-aliasing" { xfail *-*-* } } */
return x;
}
-/* { dg-message "initialized" "" { xfail *-*-* } 7 } */
+/* { dg-message "initialized" "note" { xfail *-*-* } 7 } */