public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32
@ 2011-03-24 16:19 dominiq at lps dot ens.fr
  2011-03-28 13:15 ` [Bug testsuite/48276] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-03-24 16:19 UTC (permalink / raw)
  To: gcc-bugs


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

           Summary: FAIL: gcc.target/i386/pr47502-2.c on
                    x86_64-apple-darwin10.7.0 with -m32
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: hjl@gcc.gnu.org


gcc.target/i386/pr47502-2.c fails on x86_64-apple-darwin10.7.0 with -m32

FAIL: gcc.target/i386/pr47502-2.c (test for excess errors)

The failure is

[macbook] f90/bug% gcc47 -c -m32 -O2
/opt/gcc/_clean/gcc/testsuite/gcc.target/i386/pr47502-2.c
/opt/gcc/_clean/gcc/testsuite/gcc.target/i386/pr47502-2.c: In function 'foo':
/opt/gcc/_clean/gcc/testsuite/gcc.target/i386/pr47502-2.c:8:3: error:
inconsistent operand constraints in an 'asm'


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32
  2011-03-24 16:19 [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32 dominiq at lps dot ens.fr
@ 2011-03-28 13:15 ` hjl.tools at gmail dot com
  2011-03-28 13:19 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-03-28 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|hjl at gcc dot gnu.org      |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-03-28 12:44:50 UTC ---
Please try

diff --git a/gcc/testsuite/gcc.target/i386/pr47502-2.c
b/gcc/testsuite/gcc.target/i386/pr47502-2.c
index 1f57ea0..a8dc1ca 100644
--- a/gcc/testsuite/gcc.target/i386/pr47502-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr47502-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-pic" } */

 int
 foo (int how, const void *set, void *oset)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32
  2011-03-24 16:19 [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32 dominiq at lps dot ens.fr
  2011-03-28 13:15 ` [Bug testsuite/48276] " hjl.tools at gmail dot com
@ 2011-03-28 13:19 ` dominiq at lps dot ens.fr
  2011-03-28 13:34 ` hjl at gcc dot gnu.org
  2011-03-28 13:47 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-03-28 13:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-28 12:52:43 UTC ---
> Please try
>
> ...
> -/* { dg-options "-O2" } */
> +/* { dg-options "-O2 -fno-pic" } */
> ...

It does fix the failure, thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32
  2011-03-24 16:19 [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32 dominiq at lps dot ens.fr
  2011-03-28 13:15 ` [Bug testsuite/48276] " hjl.tools at gmail dot com
  2011-03-28 13:19 ` dominiq at lps dot ens.fr
@ 2011-03-28 13:34 ` hjl at gcc dot gnu.org
  2011-03-28 13:47 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-03-28 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-03-28 13:14:56 UTC ---
Author: hjl
Date: Mon Mar 28 13:14:47 2011
New Revision: 171604

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171604
Log:
Add -fno-pic to gcc.target/i386/pr47502-2.c.

2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>

    PR testsuite/48276
    * gcc.target/i386/pr47502-2.c: Add -fno-pic.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr47502-2.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32
  2011-03-24 16:19 [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2011-03-28 13:34 ` hjl at gcc dot gnu.org
@ 2011-03-28 13:47 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-03-28 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-03-28 13:19:01 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-28 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24 16:19 [Bug testsuite/48276] New: FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32 dominiq at lps dot ens.fr
2011-03-28 13:15 ` [Bug testsuite/48276] " hjl.tools at gmail dot com
2011-03-28 13:19 ` dominiq at lps dot ens.fr
2011-03-28 13:34 ` hjl at gcc dot gnu.org
2011-03-28 13:47 ` hjl.tools at gmail dot com

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).