Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

clang hangs when compiling using optimisation flag -Os #2935

Description

Using the latest pre-release 0.2.180221-dev-20180516000001 there is an issue with clang hanging when building some files using the optimisation flag -Os.

I've been able to reproduce the issue with the following code:

id block = ^(NSString *collection, NSString *key, NSData *data) {
	id object = nil;
	
	@try {
		object = [NSKeyedUnarchiver unarchiveObjectWithData:data];
	} @catch (NSException *exception) {
	}
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions