20090914-2_0.c: Skip for mingw and cygwin targets.

* gcc.dg/lto/20090914-2_0.c: Skip for mingw and cygwin
	targets.
	* gcc.dg/lto/20091013-1_1.c: Set x64-mingw as xfail.
	* gcc.dg/lto/20091013-1_2.c: Likewise.
	* gcc.dg/pr31490.c: Adjust for LLP64 targets.

From-SVN: r196508
This commit is contained in:
Kai Tietz 2013-03-06 19:29:46 +01:00 committed by Kai Tietz
parent 010dffa97d
commit 04414cc687
5 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2013-03-06 Kai Tietz <ktietz@redhat.com>
* gcc.dg/lto/20090914-2_0.c: Skip for mingw and cygwin
targets.
* gcc.dg/lto/20091013-1_1.c: Set x64-mingw as xfail.
* gcc.dg/lto/20091013-1_2.c: Likewise.
* gcc.dg/pr31490.c: Adjust for LLP64 targets.
2013-03-06 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/aggr6.ads: New test.

View file

@ -1,6 +1,7 @@
/* { dg-lto-do run } */
/* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } { "*" } { "" } } */
/* { dg-skip-if "no .type" { *-*-darwin* } { "*" } { "" } } */
/* { dg-skip-if "no @function" { *-*-mingw* *-*-cygwin* } { "*" } { "" } } */
/* Doesn't work without this dummy function with -fwhopr. */
int foo(void) { }

View file

@ -1,4 +1,4 @@
/* { dg-xfail-if "cast to pointer of different size" { "avr-*-*" } { "*" } { "" } } */
/* { dg-xfail-if "cast to pointer of different size" { "avr-*-*" x86_64-*-mingw* } { "*" } { "" } } */
typedef struct HDC__ { int unused; } *HDC;
typedef struct HFONT__ { int unused; } *HFONT;

View file

@ -1,4 +1,4 @@
/* { dg-xfail-if "cast to pointer of different size" { "avr-*-*" } { "*" } { "" } } */
/* { dg-xfail-if "cast to pointer of different size" { "avr-*-*" x86_64-*-mingw* } { "*" } { "" } } */
typedef struct HDC__ { int unused; } *HDC;
typedef struct HFONT__ { int unused; } *HFONT;

View file

@ -3,6 +3,8 @@
/* { dg-require-named-sections "" } */
/* { dg-require-effective-target ptr32plus } */
__extension__ typedef __UINTPTR_TYPE__ uintptr_t;
int cpu (void *attr) {}
const unsigned long x __attribute__((section("foo"))) = (unsigned long)&cpu;
const unsigned long g __attribute__((section("foo"))) = 0;
const uintptr_t x __attribute__((section("foo"))) = (uintptr_t)&cpu;
const uintptr g __attribute__((section("foo"))) = 0;