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

Janis Johnson janis187@us.ibm.com
Fri Nov 3 01:25:00 GMT 2006


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



More information about the Gcc-patches mailing list