From: Jack Howarth <howarth@bromo.med.uc.edu>
To: gcc-patches@gcc.gnu.org
Cc: mikestump@comcast.net, iains@gcc.gnu.org
Subject: [PATCH] Backport lto/alias testsuite fixes for darwin to gcc 4.5.1
Date: Fri, 25 Jun 2010 06:00:00 -0000 [thread overview]
Message-ID: <20100625021739.GA24512@bromo.med.uc.edu> (raw)
The attached patch backports r159700, r158929, r159837 and
r159924 from trunk to gcc 4.5 branch which eliminate several
lto and alias related testsuite failures on darwin. Tested on
x86_64-apple-darwin10. Okay for gcc 4.5.1?
Jack
2010-06-24 Jack Howarth <howarth@bromo.med.uc.edu>
Backport from mainline
2010-05-27 Jack Howarth <howarth@bromo.med.uc.edu>
* g++.dg/lto/20100302_0.C: Skip on darwin.
2010-06-24 Jack Howarth <howarth@bromo.med.uc.edu>
Backport from mainline
2009-04-30 Steven Bosscher <steven@gcc.gnu.org>
* gcc.dg/lto/20091216-1_0.c: Adjust test case to avoid
conflict with darwin crt1.o 'start' symbol.
2010-06-24 Jack Howarth <howarth@bromo.med.uc.edu>
Backport from mainline
2010-05-22 Iain Sandoe <iains@gcc.gnu.org>
PR lto/44238
* gcc.dg/lto/20090914-2_0.c: XFAIL *-*-darwin*.
2010-06-24 Jack Howarth <howarth@bromo.med.uc.edu>
Backport from mainline
2010-05-25 Jack Howarth <howarth@bromo.med.uc.edu>
Iain Sandoe <iains@gcc.gnu.org>
* g++.dg/abi/mangle40.C: Adjust dg-require-alias syntax.
* gcc.dg/lto/20081222_0.c: Require alias support.
Index: gcc/testsuite/gcc.dg/lto/20091216-1_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20091216-1_0.c (revision 161355)
+++ gcc/testsuite/gcc.dg/lto/20091216-1_0.c (working copy)
@@ -1,6 +1,6 @@
/* { dg-lto-do run } */
-asm (".globl start; start: nop");
+asm (".globl start_; start_: nop");
int
main ()
Index: gcc/testsuite/gcc.dg/lto/20081222_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20081222_0.c (revision 161355)
+++ gcc/testsuite/gcc.dg/lto/20081222_0.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-require-alias "" } */
#include "20081222_0.h"
extern void abort (void);
Index: gcc/testsuite/gcc.dg/lto/20090914-2_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20090914-2_0.c (revision 161355)
+++ gcc/testsuite/gcc.dg/lto/20090914-2_0.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-lto-do run } */
/* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } { "*" } { "" } } */
+/* { dg-skip-if "no .type" { *-*-darwin* } { "*" } { "" } } */
/* Doesn't work without this dummy function with -fwhopr. */
int foo(void) { }
Index: gcc/testsuite/g++.dg/lto/20100302_0.C
===================================================================
--- gcc/testsuite/g++.dg/lto/20100302_0.C (revision 161355)
+++ gcc/testsuite/g++.dg/lto/20100302_0.C (working copy)
@@ -1,5 +1,5 @@
// Test for ABI forward-compatibility aliases with LTO.
-// { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } }
+// { dg-skip-if "" { { ! { i?86-*-* x86_64-*-* } } || { *-*-darwin* } } { "*" } { "" } }
// { dg-lto-options {"-flto -fabi-version=2"} }
#include "20100302.h"
Index: gcc/testsuite/g++.dg/abi/mangle40.C
===================================================================
--- gcc/testsuite/g++.dg/abi/mangle40.C (revision 161355)
+++ gcc/testsuite/g++.dg/abi/mangle40.C (working copy)
@@ -1,7 +1,7 @@
// PR c++/12909
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-require-weak }
-// { dg-require-alias }
+// { dg-require-alias "" }
// { dg-options "-mavx -Wabi -fabi-version=2" }
// { dg-final { scan-assembler "weak\[^\n\]*_Z1fIDv4_fEvT_" } }
// { dg-final { scan-assembler "weak\[^\n\]*_Z1fIU8__vectorfEvT_" } }
next reply other threads:[~2010-06-25 2:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 6:00 Jack Howarth [this message]
2010-06-25 8:39 ` Mike Stump
2010-07-11 8:50 ` IainS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100625021739.GA24512@bromo.med.uc.edu \
--to=howarth@bromo.med.uc.edu \
--cc=gcc-patches@gcc.gnu.org \
--cc=iains@gcc.gnu.org \
--cc=mikestump@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).