diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-06 18:29:46 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-06 18:29:46 +0000 |
commit | 6b7ee36e6804034d41f360041c9fe4f97b8c41c9 (patch) | |
tree | 16716c6379ec57ce6717ecc21a0fc600affce502 | |
parent | 21183e9e07c3a5793957a6d156beb4544c8c409d (diff) | |
download | gcc-6b7ee36e6804034d41f360041c9fe4f97b8c41c9.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196508 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20090914-2_0.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20091013-1_1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20091013-1_2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr31490.c | 6 |
5 files changed, 15 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 824f5f95f3e..e2aa7af51c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/lto/20090914-2_0.c b/gcc/testsuite/gcc.dg/lto/20090914-2_0.c index d0510d609b5..d83ed377bb4 100644 --- a/gcc/testsuite/gcc.dg/lto/20090914-2_0.c +++ b/gcc/testsuite/gcc.dg/lto/20090914-2_0.c @@ -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) { } diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_1.c b/gcc/testsuite/gcc.dg/lto/20091013-1_1.c index a4e37ce7a2c..ff890dce4c6 100644 --- a/gcc/testsuite/gcc.dg/lto/20091013-1_1.c +++ b/gcc/testsuite/gcc.dg/lto/20091013-1_1.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_2.c b/gcc/testsuite/gcc.dg/lto/20091013-1_2.c index 599bdbc9e3a..60bd1defa29 100644 --- a/gcc/testsuite/gcc.dg/lto/20091013-1_2.c +++ b/gcc/testsuite/gcc.dg/lto/20091013-1_2.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/pr31490.c b/gcc/testsuite/gcc.dg/pr31490.c index 1c682db5fb8..396ec2601c2 100644 --- a/gcc/testsuite/gcc.dg/pr31490.c +++ b/gcc/testsuite/gcc.dg/pr31490.c @@ -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; |