gcc ICE on this testcase

Originator:rafael.espindola
Number:rdar://10010257 Date Originated:23-Aug-2011 06:01 PM
Status:open Resolved:
Product: Product Version:
Classification: Reproducible:
 
23-Aug-2011 06:01 PM Rafael Espindola:
gcc crashes on

struct nsSimpleGestureEvent {
  nsSimpleGestureEvent(int);
};
@implementation ChildView - (void)maybeTrackScrollEventAsSwipe:(void *)anEvent   {
__attribute__((__blocks__(byref))) nsSimpleGestureEvent geckoEvent(1);
}
@end

:

test.mii:4: warning: cannot find interface declaration for ‘ChildView’
test.mii: In function ‘void -[ChildView maybeTrackScrollEventAsSwipe:](ChildView*, objc_selector*, void*)’:
test.mii:5: internal compiler error: Segmentation fault: 11

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!