Wstrict-aliasing-converted-assigned.c: Fix syntax errors in dg-message directives, add comments.
* gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax errors in dg-message directives, add comments. From-SVN: r189061
This commit is contained in:
parent
2b774880bc
commit
b03aa1faa2
|
@ -1,3 +1,8 @@
|
||||||
|
2012-06-28 Janis Johnson <janisjo@codesourcery.com>
|
||||||
|
|
||||||
|
* gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax
|
||||||
|
errors in dg-message directives, add comments.
|
||||||
|
|
||||||
2012-06-28 Kai Tietz <ktietz@redhat.com>
|
2012-06-28 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
* g++.dg/cpp0x/constexpr-52672.C (ul_ptr): Use SIZE_TYPE instead of
|
* g++.dg/cpp0x/constexpr-52672.C (ul_ptr): Use SIZE_TYPE instead of
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
int foo()
|
int foo()
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
*(long*)&i = 0; /* { dg-warning "type-punn" } */
|
*(long*)&i = 0; /* { dg-warning "type-punn" "type-punn" } */
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* { dg-message "does break strict-aliasing" "" { target { *-*-* && lp64 } xfail *-*-* } 8 } */
|
/* These messages are only expected for lp64, but fail there. When they
|
||||||
/* { dg-message "initialized" "" { target { *-*-* && lp64 } xfail *-*-* } 8 } */
|
pass for lp64, replace "xfail *-*-*" with "target lp64". */
|
||||||
|
/* { dg-message "does break strict-aliasing" "break" { xfail *-*-* } 8 } */
|
||||||
|
/* { dg-message "initialized" "init" { xfail *-*-* } 8 } */
|
||||||
|
|
Loading…
Reference in New Issue