public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/50085] [4.7 Regression] FAIL: g++.dg/opt/life1.C scan-assembler GLOBAL_OFFSET_TABLE on x86_64-apple-darwin10
Date: Mon, 15 Aug 2011 22:04:00 -0000	[thread overview]
Message-ID: <bug-50085-4-Unz4hSy4ns@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50085-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50085

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org,
                   |                            |mrs at gcc dot gnu.org

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-15 21:48:18 UTC ---
> > It required PIC and ILP32 before.  Why wasn't supported?
>
> Good question;-) but I don't know the answer!-(

And the answer is

-// { dg-do compile { target i?86-*-linux* x86_64-*-linux* } }
-// { dg-require-effective-target ilp32 }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }

Before the patch, the test was run on linux only. After it it is run on all the
{ i?86-*-* x86_64-*-* } platforms.

An alternative is

// { dg-final { scan-assembler "GLOBAL_OFFSET_TABLE" { xfail *-*-darwin* } } }

I don't know what is supposed to replace "GLOBAL_OFFSET_TABLE" on darwin.


  parent reply	other threads:[~2011-08-15 21:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 12:05 [Bug testsuite/50085] New: " dominiq at lps dot ens.fr
2011-08-15 13:32 ` [Bug testsuite/50085] " hjl.tools at gmail dot com
2011-08-15 13:43 ` dominiq at lps dot ens.fr
2011-08-15 13:46 ` hjl.tools at gmail dot com
2011-08-15 15:02 ` dominiq at lps dot ens.fr
2011-08-15 15:03 ` hjl.tools at gmail dot com
2011-08-15 15:26 ` dominiq at lps dot ens.fr
2011-08-15 22:04 ` dominiq at lps dot ens.fr [this message]
2011-08-15 22:07 ` hjl at gcc dot gnu.org
2011-08-15 22:10 ` hjl.tools at gmail dot com

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=bug-50085-4-Unz4hSy4ns@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).