This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: darwin 64-bit fix for const-str-9.mm


On Thu, Nov 02, 2006 at 02:06:20PM -0800, Mike Stump wrote:
> Another trivial little change.  Also checked into 4.2.
> 
> 
> 	* obj-c++.dg/const-str-9.mm: Don't run on 64-bit.
> 
> Doing diffs in testsuite:
> --- testsuite/obj-c++.dg/const-str-9.mm.~1~     2006-07-05  
> 19:24:24.000000000 -0700
> +++ testsuite/obj-c++.dg/const-str-9.mm 2006-11-02 13:55:58.000000000  
> -0800
> @@ -3,6 +3,7 @@
> 
>  /* { dg-options "-fnext-runtime" } */
>  /* { dg-do compile { target *-*-darwin* } } */
> +/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */

A better way to do this is

      { dg-skip-if "" { *-*-darwin && lp64 } { "*" } { "" } }

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]