Commit 6b984df0 by Martin Liska Committed by Martin Liska

re PR ipa/64668 (internal compiler error: in compare_ssa_name, at ipa-icf-gimple.c:120)

Fix PR64668.

	* objc/compile/pr64668.m: New test.
	PR ipa/64668
	* ipa-icf-gimple.c (func_checker::compare_operand): Call proper
	function for second argument of OBJ_TYPE_REF.

From-SVN: r219861
parent 36035d79
2015-01-19 Martin Liska <mliska@suse.cz>
PR ipa/64668
* ipa-icf-gimple.c (func_checker::compare_operand): Call proper
function for second argument of OBJ_TYPE_REF.
2015-01-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/64218
......
......@@ -456,7 +456,7 @@ func_checker::compare_operand (tree t1, tree t2)
z2 = TREE_OPERAND (t2, 2);
ret = compare_ssa_name (x1, x2)
&& compare_ssa_name (y1, y2)
&& compare_operand (y1, y2)
&& compare_cst_or_decl (z1, z2);
return return_with_debug (ret);
......
2015-01-19 Martin Liska <mliska@suse.cz>
* objc/compile/pr64668.m: New test.
2015-01-19 David Malcolm <dmalcolm@redhat.com>
* jit.dg/test-arith-overflow.c: Include stdbool.h.
......
typedef struct objc_object {} *id;
typedef struct _NSZone NSZone;
@class NSCoder;
@protocol NSObject - (Class) class;
@end @protocol NSCopying - (id) copyWithZone: (NSZone*)zone;
@end @protocol NSMutableCopying - (id) mutableCopyWithZone: (NSZone*)zone;
@end @protocol NSCoding - (void) encodeWithCoder: (NSCoder*)aCoder;
@end @interface NSObject <NSObject> {}
@end typedef double NSTimeInterval;
@interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> + (id) string;
@end @interface NSConstantString : NSString {}
@end @class NSMutableArray, NSMutableDictionary, NSMutableData, NSData, NSString;
@interface NSBundle : NSObject {}
enum { NSMixedState = -1, NSOffState = 0, NSOnState = 1 };
@end @class NSWindow;
@interface IBInspector : NSObject { id object; }
@end @interface GormScrollViewAttributesInspector : IBInspector { id verticalScroll; id horizontalScroll; }
@end @implementation GormScrollViewAttributesInspector - - init {}
- (void) verticalSelected: (id)sender { [super ok: sender]; [object setHasVerticalScroller: ([verticalScroll state] == NSOnState)]; }
- (void) horizontalSelected: (id)sender { [super ok: sender]; [object setHasHorizontalScroller: ([horizontalScroll state] == NSOnState)]; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment