public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
@ 2012-08-14 15:35 howarth at nitro dot med.uc.edu
  2012-08-14 15:57 ` [Bug target/54257] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-08-14 15:35 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54257
           Summary: gcc.target/i386/pr53249.c failure at -m64 on
                    x86_64-apple-darwin
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


The new test case gcc.target/i386/pr53249.c introduced in...

Author: hjl
Date: Wed May  9 13:32:13 2012
New Revision: 187331

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187331
Log:
Add a test for PR middle-end/53249

    PR middle-end/53249
    * gcc.target/i386/pr53249.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr53249.c
Modified:
    trunk/gcc/testsuite/ChangeLog

fails at -m64 on x86_64-apple-darwin12 with...

Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/gcc/testsuite/gcc.target/i386/pr53249.c
 -fno-diagnostics-show-caret   -O2 -mx32 -ftls-model=initial-exec
-maddress-mode=short -S  -m64 -o pr53249.s    (timeout = 300)
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/gcc/testsuite/gcc.target/i386/pr53249.c:1:0:
error: address mode 'short' not supported in the 64 bit mode^M
compiler exited with status 1
output is:
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/gcc/testsuite/gcc.target/i386/pr53249.c:1:0:
error: address mode 'short' not supported in the 64 bit mode^M

FAIL: gcc.target/i386/pr53249.c (test for excess errors)


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
@ 2012-08-14 15:57 ` hjl.tools at gmail dot com
  2012-08-20 12:14 ` dominiq at lps dot ens.fr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2012-08-14 15:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-14 15:57:34 UTC ---
The problem is -m64 overrides -mx32.


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
  2012-08-14 15:57 ` [Bug target/54257] " hjl.tools at gmail dot com
@ 2012-08-20 12:14 ` dominiq at lps dot ens.fr
  2012-08-20 16:25 ` mikestump at comcast dot net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-08-20 12:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-08-20
     Ever Confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-08-20 12:13:35 UTC ---
I got rid of the error with the following patch

--- /opt/gcc/_clean/gcc/testsuite/gcc.target/i386/pr53249.c    2012-05-09
15:56:54.000000000 +0200
+++ /opt/gcc/work/gcc/testsuite/gcc.target/i386/pr53249.c    2012-06-23
14:30:38.000000000 +0200
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { ! { ia32 } } } } */
+/* { dg-do compile { target { { ! { ia32 } } && { ! *-*-darwin* } } } } */
 /* { dg-options "-O2 -mx32 -ftls-model=initial-exec -maddress-mode=short" } */

 struct gomp_task

AFAICT -mx32 is not supported on darwin.


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
  2012-08-14 15:57 ` [Bug target/54257] " hjl.tools at gmail dot com
  2012-08-20 12:14 ` dominiq at lps dot ens.fr
@ 2012-08-20 16:25 ` mikestump at comcast dot net
  2012-08-20 16:27 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mikestump at comcast dot net @ 2012-08-20 16:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Mike Stump <mikestump at comcast dot net> 2012-08-20 16:24:49 UTC ---
Looks good to me...  HJ?


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
                   ` (2 preceding siblings ...)
  2012-08-20 16:25 ` mikestump at comcast dot net
@ 2012-08-20 16:27 ` hjl.tools at gmail dot com
  2012-10-09  8:24 ` ro at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2012-08-20 16:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-20 16:27:26 UTC ---
(In reply to comment #3)
> Looks good to me...  HJ?

Looks good to me too.


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
                   ` (3 preceding siblings ...)
  2012-08-20 16:27 ` hjl.tools at gmail dot com
@ 2012-10-09  8:24 ` ro at gcc dot gnu.org
  2012-10-09  8:26 ` ro at gcc dot gnu.org
  2012-12-09 15:09 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-09  8:24 UTC (permalink / raw)
  To: gcc-bugs


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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org,
                   |                            |ubizjak at gmail dot com
   Target Milestone|---                         |4.8.0

--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> 2012-10-09 08:24:06 UTC ---
No, this is certainly wrong: I'm seeing the same failure on
i386-pc-solaris2.1[01]
(cf. PR testsuite/53365) and i686-unknown-linux-gnu.

The same failure also occurs for

FAIL: gcc.target/i386/pr53249.c (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/pr53249.c:1:0: error:
address mode 'short' not supported in the 64 bit mode

also on i386-pc-solaris2.1[01] and i686-unknown-linux-gnu.  There's something
amiss that's not darwin-specific.

  Rainer


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
                   ` (4 preceding siblings ...)
  2012-10-09  8:24 ` ro at gcc dot gnu.org
@ 2012-10-09  8:26 ` ro at gcc dot gnu.org
  2012-12-09 15:09 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-09  8:26 UTC (permalink / raw)
  To: gcc-bugs


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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gseanmcg at gmail dot com

--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> 2012-10-09 08:25:56 UTC ---
*** Bug 53365 has been marked as a duplicate of this bug. ***


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

* [Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin
  2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
                   ` (5 preceding siblings ...)
  2012-10-09  8:26 ` ro at gcc dot gnu.org
@ 2012-12-09 15:09 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-12-09 15:09 UTC (permalink / raw)
  To: gcc-bugs


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

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-09 15:08:55 UTC ---
Fixed at...

Author: hjl
Date: Sat Nov  3 21:36:48 2012
New Revision: 193126

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193126
Log:
Add check_effective_target_maybe_x32

    * lib/target-supports.exp (check_effective_target_maybe_x32): New
    proc.
    * gcc.target/i386/pr54457.c: Use dg-require-effective-target
    maybe_x32.
    * gcc.target/i386/pr53249.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr53249.c
    trunk/gcc/testsuite/gcc.target/i386/pr54457.c
    trunk/gcc/testsuite/lib/target-supports.exp


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

end of thread, other threads:[~2012-12-09 15:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-14 15:35 [Bug target/54257] New: gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin howarth at nitro dot med.uc.edu
2012-08-14 15:57 ` [Bug target/54257] " hjl.tools at gmail dot com
2012-08-20 12:14 ` dominiq at lps dot ens.fr
2012-08-20 16:25 ` mikestump at comcast dot net
2012-08-20 16:27 ` hjl.tools at gmail dot com
2012-10-09  8:24 ` ro at gcc dot gnu.org
2012-10-09  8:26 ` ro at gcc dot gnu.org
2012-12-09 15:09 ` howarth at nitro dot med.uc.edu

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