[PATCH] 18702 (was Re: [PATCH] PR/18555)

Devang Patel dpatel@apple.com
Mon Nov 29 19:48:00 GMT 2004


On Nov 28, 2004, at 10:52 PM, Eric Botcazou wrote:

>> But other command-line options (setting an include path to a
>> stdio.h in a unified tree or fixincluded) are not overridden.
>> See PR target/18702.
>
> Yes, please restrict this test to targets for which you're sure it 
> will pass.

How about following for the moment ?

        PR/18702
        * gcc.dg/cpp/isysroot-1.c: Make this test darwin specific.

-
Devang


Index: gcc.dg/cpp/isysroot-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/isysroot-1.c,v
retrieving revision 1.2
diff -Idpatel.pbxuser -c -3 -p -r1.2 isysroot-1.c
*** gcc.dg/cpp/isysroot-1.c     24 Nov 2004 17:47:29 -0000      1.2
--- gcc.dg/cpp/isysroot-1.c     29 Nov 2004 19:38:08 -0000
***************
*** 1,5 ****
   /* { dg-options "-isysroot ${srcdir}/gcc.dg/cpp" } */
! /* { dg-do compile } */

   #include <stdio.h>
   int main()
--- 1,5 ----
   /* { dg-options "-isysroot ${srcdir}/gcc.dg/cpp" } */
! /* { dg-do compile  { target *-*-darwin* } } */

   #include <stdio.h>
   int main()



More information about the Gcc-patches mailing list