1/* Yet another mysterious gimplifier crasher.  */
2/* { dg-do compile } */
3/* { dg-prune-output ".*internal compiler error.*" } */
4/* { dg-options "-O3" } */
5
6@class NSString;
7@protocol NSObject
8@end
9@interface NSObject <NSObject> {
10}
11@end
12void __setRetained(id *ivar, id value) {
13    *ivar = value;
14}
15static NSString *_logProcessPrefix = 0;
16@implementation NSObject (ScopeAdditions)
17+ (void)setObjectLogProcessPrefix:(NSString *)processPrefix {
18    __setRetained(&_logProcessPrefix, processPrefix);
19}
20@end
21