bitfield2.C: Add -mno-ms-bitfields for i?86-*-netware.

2009-07-28  Jan Beulich  <jbeulich@novell.com>

	* g++.dg/ext/bitfield2.C: Add -mno-ms-bitfields for
	i?86-*-netware.
	* g++.dg/ext/bitfield3.C: Likewise.
	* g++.dg/ext/bitfield4.C: Likewise.
	* g++.dg/ext/bitfield5.C: Likewise.
	* gcc.dg/bitfld-15.c: Likewise.
	* gcc.dg/bitfld-16.c: Likewise.
	* gcc.dg/bitfld-17.c: Likewise.
	* gcc.dg/bitfld-18.c: Likewise.
	* g++.old-deja/g++.jason/thunk2.C: Remove dg-bogus.
	* gcc.dg/20010912-1.c: Likewise.
	* gcc.dg/20021018-1.c: Likewise.
	* gcc.dg/20030213-1.c: Likewise.
	* gcc.dg/20030225-1.c: Likewise.
	* gcc.dg/20030708-1.c: Likewise.
	* gcc.dg/20050321-2.c: Likewise.
	* gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
	* gcc.dg/cdce2.c: Likewise.
	* gcc.target/i386/pr37248-2.c: Don't test on default_packet
	targets.
	* gcc.target/i386/pr37248-3.c: Likewise.

From-SVN: r150141
This commit is contained in:
Jan Beulich 2009-07-28 06:37:36 +00:00 committed by Jan Beulich
parent 5268acda32
commit e561703d5b
20 changed files with 37 additions and 10 deletions

View File

@ -1,3 +1,27 @@
2009-07-28 Jan Beulich <jbeulich@novell.com>
* g++.dg/ext/bitfield2.C: Add -mno-ms-bitfields for
i?86-*-netware.
* g++.dg/ext/bitfield3.C: Likewise.
* g++.dg/ext/bitfield4.C: Likewise.
* g++.dg/ext/bitfield5.C: Likewise.
* gcc.dg/bitfld-15.c: Likewise.
* gcc.dg/bitfld-16.c: Likewise.
* gcc.dg/bitfld-17.c: Likewise.
* gcc.dg/bitfld-18.c: Likewise.
* g++.old-deja/g++.jason/thunk2.C: Remove dg-bogus.
* gcc.dg/20010912-1.c: Likewise.
* gcc.dg/20021018-1.c: Likewise.
* gcc.dg/20030213-1.c: Likewise.
* gcc.dg/20030225-1.c: Likewise.
* gcc.dg/20030708-1.c: Likewise.
* gcc.dg/20050321-2.c: Likewise.
* gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
* gcc.dg/cdce2.c: Likewise.
* gcc.target/i386/pr37248-2.c: Don't test on default_packet
targets.
* gcc.target/i386/pr37248-3.c: Likewise.
2009-07-27 Janus Weil <janus@gcc.gnu.org>
PR fortran/40848

View File

@ -1,6 +1,7 @@
/* { dg-do compile } */
/* Remove pedantic. Allow the GCC extension to use char for bitfields. */
/* { dg-options "" } */
/* { 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 } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Wno-packed-bitfield-compat" } */
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "" } */
/* { 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 } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Wno-packed-bitfield-compat" } */
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,6 +1,5 @@
// { dg-do run { target fpic } }
// { dg-options "-fPIC" }
// { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))|\[Bb\]ad fixup at .DATA.:" "PIC unsupported" { xfail *-*-netware* } 0 }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } }
// Test that non-variadic function calls using thunks and PIC work right.

View File

@ -1,6 +1,5 @@
/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
extern void abort (void);
extern void exit (int);

View File

@ -1,6 +1,5 @@
/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
extern void abort (void);
extern void exit (int);

View File

@ -1,7 +1,6 @@
/* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */
/* { dg-do link { target fpic } } */
/* { dg-options "-O -fpic" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
int *g;

View File

@ -5,7 +5,6 @@
and Benjamin Herrenschmidt <benh@kernel.crashing.org>. */
/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fPIC" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
extern void exit (int);

View File

@ -1,7 +1,6 @@
/* PR c/11420 */
/* { dg-do link { target fpic } } */
/* { dg-options "-O2 -fpic" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
void (* volatile fn) (void);
static void foo (void)

View File

@ -5,7 +5,6 @@
figure out branch to lab is too far. */
/* { dg-do link { target fpic } } */
/* { dg-options "-g1 -fpic" } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
/* { dg-require-effective-target int32plus } */
#define A(n) \

View File

@ -1,6 +1,7 @@
/* { dg-do compile } */
/* Remove pedantic. Allow the GCC extension to use char for bitfields. */
/* { dg-options "" } */
/* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Wno-packed-bitfield-compat" } */
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-options "-mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Wno-packed-bitfield-compat" } */
/* { dg-options "-Wno-packed-bitfield-compat -mno-ms-bitfields" { target i?86-*-netware } } */
struct t
{

View File

@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
/* { dg-final { scan-tree-dump "cdce1.c:16: note: function call is shrink-wrapped into error conditions\." "cdce" } } */
/* { dg-final { cleanup-tree-dump "cdce" } } */
/* { dg-require-effective-target large_double } */

View File

@ -1,6 +1,7 @@
/* { dg-do run } */
/* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */
/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
/* { dg-final { scan-tree-dump "cdce2.c:16: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
/* { dg-final { cleanup-tree-dump "cdce" } } */

View File

@ -1,5 +1,5 @@
/* PR middle-end/37248 */
/* { dg-do compile } */
/* { dg-do compile { target { ! default_packed } } } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
struct S

View File

@ -1,6 +1,6 @@
/* PR middle-end/37248 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
/* { dg-do compile { target { ! default_packed } } } */
/* { dg-options "-O2 -fdump-tree-optimized -mno-ms-bitfields" } */
struct S
{