Commit 35eb7ed7 by Rainer Orth Committed by Rainer Orth

_Pragma1.C: Skip on alpha*-dec-osf*.

	* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
	* g++.dg/eh/spbp.C: Likewise.
	* g++.dg/ext/label13.C (C::C): xfail dg-bogus on alpha*-dec-osf*.
	* g++.dg/other/pragma-ep-1.C: Properly define p, remove
	superfluous casts.
	* gcc.dg/mtune.c: Add dg-bogus "mcpu".
	* objc.dg/dwarf-1.m: Skip on  alpha*-dec-osf*.
	* objc.dg/dwarf-2.m: Likewise.

From-SVN: r157905
parent 8c5cfa89
2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/label13.C (C::C): xfail dg-bogus on alpha*-dec-osf*.
* g++.dg/other/pragma-ep-1.C: Properly define p, remove
superfluous casts.
* gcc.dg/mtune.c: Add dg-bogus "mcpu".
* objc.dg/dwarf-1.m: Skip on alpha*-dec-osf*.
* objc.dg/dwarf-2.m: Likewise.
2010-03-31 Sebastian Pop <sebastian.pop@amd.com> 2010-03-31 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43464 PR middle-end/43464
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// This is supposed to succeed only if // This is supposed to succeed only if
// the target defines HANDLE_PRAGMA_PACK_PUSH_POP // the target defines HANDLE_PRAGMA_PACK_PUSH_POP
// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. // and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
// { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks } } } } // { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks alpha*-dec-osf* } } } }
#define push bar #define push bar
#define foo _Pragma ("pack(push)") #define foo _Pragma ("pack(push)")
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-gdwarf-2" } */ /* { dg-options "-gdwarf-2" } */
/* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-skip-if "No Dwarf" { { *-*-aix* alpha*-dec-osf* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
/* This was a bug on x86-darwin, where the register numbering for SP /* This was a bug on x86-darwin, where the register numbering for SP
and BP was swapped (it's easy to do because on that port it's and BP was swapped (it's easy to do because on that port it's
......
...@@ -8,7 +8,7 @@ struct C ...@@ -8,7 +8,7 @@ struct C
C(); C();
}; };
C::C() // { dg-bogus "can never be copied" "" { xfail *-apple-darwin* } } C::C() // { dg-bogus "can never be copied" "" { xfail *-apple-darwin* alpha*-ded-osf* } }
{ {
static void *labelref = &&label; static void *labelref = &&label;
goto *labelref; goto *labelref;
......
...@@ -22,6 +22,6 @@ extern "C" int three(void); ...@@ -22,6 +22,6 @@ extern "C" int three(void);
extern "C" int four(void); extern "C" int four(void);
void *p[] = { int (*p[])(void) = {
(void *) one, (void *) two, (void *) three, (void *) four one, two, three, four
}; };
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
/* { dg-options "-mtune=foo" } */ /* { dg-options "-mtune=foo" } */
/* { dg-error "mtune" "" { target *-*-* } 0 } */ /* { dg-error "mtune" "" { target *-*-* } 0 } */
/* { dg-bogus "march" "" { target *-*-* } 0 } */ /* { dg-bogus "march" "" { target *-*-* } 0 } */
/* { dg-bogus "mcpu" "" { target *-*-* } 0 } */
int i; int i;
/* { dg-options "-gdwarf-2 -dA" } */ /* { dg-options "-gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "\"id.0\".*DW_AT_name" } } */ /* { dg-final { scan-assembler "\"id.0\".*DW_AT_name" } } */
/* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-skip-if "No Dwarf" { { *-*-aix* alpha*-dec-osf* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
@interface foo @interface foo
id x; id x;
@end @end
/* { dg-options "-gdwarf-2 -dA -gno-strict-dwarf" } */ /* { dg-options "-gdwarf-2 -dA -gno-strict-dwarf" } */
/* { dg-final { scan-assembler "0x10\[^0-9a-f\].*DW_AT_language" } } */ /* { dg-final { scan-assembler "0x10\[^0-9a-f\].*DW_AT_language" } } */
/* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* { dg-skip-if "No Dwarf" { { *-*-aix* alpha*-dec-osf* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
int x; int x;
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