https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90709

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Sat Jun 15 13:54:36 2019
New Revision: 272325

URL: https://gcc.gnu.org/viewcvs?rev=272325&root=gcc&view=rev
Log:
[objective-c/c++, testsuite, 1/3] Workaround for PR90709.

Since we cannot parse the current NeXT headers, because of PR90709 and its
dependents, we have a large amount of testsuite noise for Darwin platforms.
In order to restore the usefulness of the testsuite, we are going add headers
without the modern syntax elements that trigger the bug, and use these for
test runs on newer Darwin.

The headers are imported from GNUStep, with some local modifications to make
sure that __BLOCKS__ is honoured as a gate for Apple-style blocks closures.

CF-CFString.h, F-NS*.h are proxy headers that use the installed CoreFoundation
or Foundation headers on systems <= Darwin12 and the GNUStep headers for newer.

2019-06-15  Iain Sandoe  <i...@sandoe.co.uk>

        PR objc/90709
        * objc-obj-c++-shared/CF-CFString.h: New.
        * objc-obj-c++-shared/F-NSArray.h: New.
        * objc-obj-c++-shared/F-NSAutoreleasePool.h: New.
        * objc-obj-c++-shared/F-NSObject.h: New.
        * objc-obj-c++-shared/F-NSString.h: New.
        * objc-obj-c++-shared/F-NSValue.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFArray.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFAvailability.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFBase.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFCharacterSet.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFData.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFDictionary.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFLocale.h: New.
        * objc-obj-c++-shared/GNUStep/CoreFoundation/CFString.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSArray.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSAutoreleasePool.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSDate.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSEnumerator.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSObjCRuntime.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSObject.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSRange.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSString.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSValue.h: New.
        * objc-obj-c++-shared/GNUStep/Foundation/NSZone.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/GNUstep.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/GSBlocks.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/GSConfig.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/GSObjCRuntime.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/GSVersionMacros.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/NSArray+GNUstepBase.h: New.
        *
objc-obj-c++-shared/GNUStep/GNUstepBase/NSMutableString+GNUstepBase.h:
        New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/NSNumber+GNUstepBase.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/NSObject+GNUstepBase.h: New.
        * objc-obj-c++-shared/GNUStep/GNUstepBase/NSString+GNUstepBase.h: New.


Added:
    trunk/gcc/testsuite/objc-obj-c++-shared/CF-CFString.h
    trunk/gcc/testsuite/objc-obj-c++-shared/F-NSArray.h
    trunk/gcc/testsuite/objc-obj-c++-shared/F-NSAutoreleasePool.h
    trunk/gcc/testsuite/objc-obj-c++-shared/F-NSObject.h
    trunk/gcc/testsuite/objc-obj-c++-shared/F-NSString.h
    trunk/gcc/testsuite/objc-obj-c++-shared/F-NSValue.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFArray.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFAvailability.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFBase.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFCharacterSet.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFData.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFDictionary.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFLocale.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/CoreFoundation/CFString.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSArray.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSAutoreleasePool.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSDate.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSEnumerator.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSObjCRuntime.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSObject.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSRange.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSString.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSValue.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSZone.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/GNUstep.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/GSBlocks.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/GSConfig.h
    trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/GSObjCRuntime.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/GSVersionMacros.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/NSArray+GNUstepBase.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/NSMutableString+GNUstepBase.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/NSNumber+GNUstepBase.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/NSObject+GNUstepBase.h
   
trunk/gcc/testsuite/objc-obj-c++-shared/GNUStep/GNUstepBase/NSString+GNUstepBase.h
Modified:
    trunk/gcc/testsuite/ChangeLog

Reply via email to