This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 21 GCC regressions, 0 new, with your patch on 2003-06-26T09:45:01Z.



On Thursday, Jun 26, 2003, at 10:36 US/Eastern, GCC regression checker wrote:

native objc.sum objc/execute/accessing_ivars.m native objc.sum objc/execute/bycopy-2.m native objc.sum objc/execute/enumeration-1.m native objc.sum objc/execute/enumeration-2.m native objc.sum objc/execute/formal_protocol-1.m native objc.sum objc/execute/formal_protocol-2.m native objc.sum objc/execute/formal_protocol-3.m native objc.sum objc/execute/formal_protocol-4.m native objc.sum objc/execute/formal_protocol-7.m native objc.sum objc/execute/initialize.m native objc.sum objc/execute/load-2.m native objc.sum objc/execute/load-3.m native objc.sum objc/execute/load.m native objc.sum objc/execute/no_clash.m native objc.sum objc/execute/object_is_class.m native objc.sum objc/execute/object_is_meta_class.m

Looks like still more unit-at-a-time problems with Objective-C, this time only on Darwin :( .


With the following code (which is valid and should not seg fault) seg faults when runs on Darwin with -funit-at-a-time only as an option:
---------------------------------------------------------
#include <objc/objc.h>
#include <objc/Object.h>
@interface A : Object
@end
@interface B : A
@end
@implementation A
@end
@implementation B
@end
int main()
{
B *b = [B new];
return 0;
}
-----------------cut------------------------------------
It does not seg fault on linux, remember that on Darwin there are Objective-C sections in the asm.



Thanks, Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]