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

@rupertdaniel

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) {
	}
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions