+2006-06-02 Eric Christopher <echristo@apple.com>
+
+ * gcc.c-torture/compile/20000804-1.c: Skip if i?86-darwin.
+ * gcc.target/i386/20020523-1.c: Skip if darwin.
+ * gcc.target/i386/asm-3.c: Ditto.
+ * gcc.target/i386/20011119-1.c: Ditto.
+ * gcc.target/i386/clobbers.c: Remove pic part of test.
+
2006-06-02 Steve Ellcey <sje@cup.hp.com>
* g++.old-deja/g++.other/init5.C: XFAIL if cxa-atexit is false.
and add other platforms as expected failures.
2006-06-01 Steve Ellcey <sje@cup.hp.com>
-
+
* lib/target-supports.exp (is-effective-target): Add cxa_atexit.
(is-effective-target-keyword): Ditto.
2006-05-30 Mark Mitchell <mark@codesourcery.com>
PR c++/27803
- * g++.dg/parse/bitfield1.C: New test.
+ * g++.dg/parse/bitfield1.C: New test.
2006-05-30 Roger Sayle <roger@eyesopen.com>
PR c++/20103
* g++.dg/ext/complit6.C: New test.
* g++.dg/ext/complit3.C: Adjust error markers.
- * g++.dg/init/const3.C: New test.
+ * g++.dg/init/const3.C: New test.
2006-05-25 Richard Guenther <rguenther@suse.de>
statement to force a 'long long' (64-bits) to go in a register. */
/* { dg-do assemble { xfail m6811-*-* m6812-*-* h8300-*-* } } */
/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-skip-if "PIC default" { i?86-*-darwin* } { "*" } { "" } } */
/* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */
/* Copyright (C) 2000, 2003 Free Software Foundation */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-skip-if "PIC default" { "*-*-darwin*" } { "*" } { "" } } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
static int ustrsize (const char *s);
ucwidth = ucwidth_;
ugetxc = ugetxc_;
usetc = usetc_;
-
+
/* ??? It is impossible to explicitly modify the hard frame pointer.
This will run afoul of code in flow.c that declines to mark regs
in eliminate_regs in regs_ever_used. Apparently, we have to wait
patterns were missing earlyclobber. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */
extern void abort (void);
__asm__ ("movl $1,%0\n\txorl %%eax,%%eax" : "=r" (i) : : "eax");
if (i != 1)
abort ();
+ /* On darwin you can't call external functions from non-pic code,
+ however, clobbering ebx isn't valid in pic code. Instead of
+ disabling the whole test, just disable the ebx clobbering part. */
+#if !(defined (__MACH__))
__asm__ ("movl $1,%0\n\txorl %%ebx,%%ebx" : "=r" (i) : : "ebx");
if (i != 1)
abort ();
+#endif
__asm__ ("movl $1,%0\n\txorl %%ecx,%%ecx" : "=r" (i) : : "ecx");
if (i != 1)
abort ();