Commit 72b53e21 by Joseph Myers Committed by Joseph Myers

bitfield2.C, [...]: Update expected messages.

	* g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield4.C,
	gcc.dg/bitfld-15.c, gcc.dg/bitfld-17.c,
	gcc.target/i386/pr39082-1.c, gcc.target/i386/pr39545-1.c,
	gcc.target/i386/pr39545-2.c, gcc.target/i386/pr39678.c: Update
	expected messages.

From-SVN: r166587
parent 03f28e75
2010-11-10 Joseph Myers <joseph@codesourcery.com>
* g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield4.C,
gcc.dg/bitfld-15.c, gcc.dg/bitfld-17.c,
gcc.target/i386/pr39082-1.c, gcc.target/i386/pr39545-1.c,
gcc.target/i386/pr39545-2.c, gcc.target/i386/pr39678.c: Update
expected messages.
2010-11-10 Jan Hubicka <jh@suse.cz> 2010-11-10 Jan Hubicka <jh@suse.cz>
PR tree-optimize/38669 PR tree-optimize/38669
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* { dg-options "" } */ /* { dg-options "" } */
/* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */ /* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */
struct t /* { dg-message "note: Offset of packed bit-field 't::b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */ struct t /* { dg-message "note: offset of packed bit-field 't::b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */
{ {
char a:4; char a:4;
char b:8; char b:8;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* { dg-options "" } */ /* { dg-options "" } */
/* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */ /* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */
struct t /* { dg-message "note: Offset of packed bit-field 't::b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */ struct t /* { dg-message "note: offset of packed bit-field 't::b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */
{ {
char a:4; char a:4;
char b:8 __attribute__ ((packed)); char b:8 __attribute__ ((packed));
......
...@@ -8,6 +8,6 @@ struct t ...@@ -8,6 +8,6 @@ struct t
char a:4; char a:4;
char b:8; char b:8;
char c:4; char c:4;
} __attribute__ ((packed)); /* { dg-message "note: Offset of packed bit-field 'b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */ } __attribute__ ((packed)); /* { dg-message "note: offset of packed bit-field 'b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */
int assrt[sizeof (struct t) == 2 ? 1 : -1]; int assrt[sizeof (struct t) == 2 ? 1 : -1];
...@@ -7,6 +7,6 @@ struct t ...@@ -7,6 +7,6 @@ struct t
char a:4; char a:4;
char b:8 __attribute__ ((packed)); char b:8 __attribute__ ((packed));
char c:4; char c:4;
}; /* { dg-message "note: Offset of packed bit-field 'b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */ }; /* { dg-message "note: offset of packed bit-field 'b' has changed in GCC 4.4" "" { target pcc_bitfield_type_matters } } */
int assrt[sizeof (struct t) == 2 ? 1 : -1]; int assrt[sizeof (struct t) == 2 ? 1 : -1];
...@@ -30,6 +30,6 @@ foo2 (void) ...@@ -30,6 +30,6 @@ foo2 (void)
int int
foo3 (int x) foo3 (int x)
{ {
union un u = bar2 (x); /* { dg-message "note: The ABI of passing union with long double has changed in GCC 4.4" } */ union un u = bar2 (x); /* { dg-message "note: the ABI of passing union with long double has changed in GCC 4.4" } */
return u.i; return u.i;
} }
...@@ -17,7 +17,7 @@ foo (struct flex s) ...@@ -17,7 +17,7 @@ foo (struct flex s)
struct flex struct flex
bar (int x) bar (int x)
{ /* { dg-message "note: The ABI of passing struct with a flexible array member has changed in GCC 4.4" } */ { /* { dg-message "note: the ABI of passing struct with a flexible array member has changed in GCC 4.4" } */
struct flex s; struct flex s;
s.i = x; s.i = x;
return s; return s;
......
...@@ -11,7 +11,7 @@ struct flex ...@@ -11,7 +11,7 @@ struct flex
struct flex struct flex
foo (int x) foo (int x)
{ /* { dg-message "note: The ABI of passing struct with a flexible array member has changed in GCC 4.4" } */ { /* { dg-message "note: the ABI of passing struct with a flexible array member has changed in GCC 4.4" } */
struct flex s; struct flex s;
s.i = x; s.i = x;
return s; return s;
......
...@@ -10,7 +10,7 @@ struct X { ...@@ -10,7 +10,7 @@ struct X {
struct X struct X
foo (float *p) foo (float *p)
{ /* { dg-message "note: The ABI of passing structure with complex float member has changed in GCC 4.4" } */ { /* { dg-message "note: the ABI of passing structure with complex float member has changed in GCC 4.4" } */
struct X x; struct X x;
x.c = -3; x.c = -3;
__real x.val = p[0]; __real x.val = p[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment