[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-12-09 Thread howarth at nitro dot med.uc.edu


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



Jack Howarth  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED



--- Comment #7 from Jack Howarth  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


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-10-09 Thread ro at gcc dot gnu.org


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



Rainer Orth  changed:



   What|Removed |Added



 CC||gseanmcg at gmail dot com



--- Comment #6 from Rainer Orth  2012-10-09 08:25:56 UTC 
---

*** Bug 53365 has been marked as a duplicate of this bug. ***


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-10-09 Thread ro at gcc dot gnu.org


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



Rainer Orth  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  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


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-08-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54257

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

Looks good to me too.


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-08-20 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54257

--- Comment #3 from Mike Stump  2012-08-20 
16:24:49 UTC ---
Looks good to me...  HJ?


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-08-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54257

Dominique d'Humieres  changed:

   What|Removed |Added

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

--- Comment #2 from Dominique d'Humieres  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.c2012-05-09
15:56:54.0 +0200
+++ /opt/gcc/work/gcc/testsuite/gcc.target/i386/pr53249.c2012-06-23
14:30:38.0 +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.


[Bug target/54257] gcc.target/i386/pr53249.c failure at -m64 on x86_64-apple-darwin

2012-08-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54257

--- Comment #1 from H.J. Lu  2012-08-14 15:57:34 
UTC ---
The problem is -m64 overrides -mx32.