blob: 3ba4c8604e6a76ddce2c43c232ef7724dd81c930 [file] [log] [blame]
/* APPLE LOCAL file ObjC direct dispatch */
/* Check that 4015820 is fixed. That does not appear except
with -O0, so the sibcall case cannot occur. */
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-O0 -fobjc-direct-dispatch" } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
#include <objc/Object.h>
void foo(void) {
Object *o;
[o++ free];
}
/* { dg-final { scan-assembler-not "objc_msgSend" } } */
/* { dg-final { scan-assembler "bla.*fffeff00" } } */