This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[objc] PATCH: Yet another trival test case fix
- From: Ziemowit Laski <zlaski at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Oct 2003 12:12:12 -0700
- Subject: [objc] PATCH: Yet another trival test case fix
Turns out that DejaGNU is not kind enough to determine the
Darwin version being used, so we'll just let the test case
rip on all versions. Committed as obvious.
2003-10-16 Ziemowit Laski <zlaski@apple.com>
* objc.dg/try-catch-2.m: Relax target triple to all Darwin
versions.
Index: gcc/testsuite/objc.dg/try-catch-2.m
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/objc.dg/try-catch-2.m,v
retrieving revision 1.2
diff -c -3 -p -r1.2 try-catch-2.m
*** gcc/testsuite/objc.dg/try-catch-2.m 25 Sep 2003 01:26:01 -0000
1.2
--- gcc/testsuite/objc.dg/try-catch-2.m 16 Oct 2003 19:11:58 -0000
***************
*** 3,9 ****
/* Developed by Ziemowit Laski <zlaski@apple.com>. */
/* { dg-options "-fobjc-exceptions -lobjc" } */
! /* { dg-do run { target *-*-darwin[789]* } } */
#include <objc/objc.h>
#include <objc/objc-runtime.h>
--- 3,9 ----
/* Developed by Ziemowit Laski <zlaski@apple.com>. */
/* { dg-options "-fobjc-exceptions -lobjc" } */
! /* { dg-do run { target *-*-darwin* } } */
#include <objc/objc.h>
#include <objc/objc-runtime.h>
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477