]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20090914-2_0.c: Skip for mingw and cygwin targets.
authorKai Tietz <ktietz@redhat.com>
Wed, 6 Mar 2013 18:29:46 +0000 (19:29 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 6 Mar 2013 18:29:46 +0000 (19:29 +0100)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20090914-2_0.c
gcc/testsuite/gcc.dg/lto/20091013-1_1.c
gcc/testsuite/gcc.dg/lto/20091013-1_2.c
gcc/testsuite/gcc.dg/pr31490.c

index 824f5f95f3e07d9a3462cf71a39d7053dabb5123..e2aa7af51c9fe5afd5e5e07a9bee2b7b699084d1 100644 (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.
index d0510d609b5b78c0efb27e6c78de7244532f728c..d83ed377bb4e4805bbee9edb43c2fd0827b33846 100644 (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) { }
index a4e37ce7a2ceb61240013eae01a851f55afe7fd2..ff890dce4c6dc8bd36298ef6389a50509d51234b 100644 (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;
 
index 599bdbc9e3a2eedcfbe3279682c8a86f18a1497a..60bd1defa292143884805a5f0ea32e074421c9ee 100644 (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;
 
index 1c682db5fb8a6c8212db78db3b4d6e8fe7df355e..396ec2601c298a99db3a9c580a2bcfbeeb8bb483 100644 (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;