/* APPLE LOCAL file radar 4590221 */
/* Check that -fobjc-direct-dispatch is on by default for 32-bit ppc with 
   -mmacosx-version-min=10.4. */
/* { dg-do compile } */
/* { dg-options "-mmacosx-version-min=10.4" } */
/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */

/* APPLE LOCAL radar 4894756 */
#include "../objc/execute/Object2.h"

@interface Derived: Object {
@public
  Object *other;
}
@end

void foo(void) {
  Derived *o = [Derived new];
  o->other = 0;  
}

/* { dg-final { scan-assembler "objc_msgSend" { target i?86-*-* } } } */

/* { dg-final { scan-assembler "bla.*fffeff00" { target powerpc*-*-darwin* } } } */
