blob: 67e8a998bc4ca74bc775213a60831e9c24ff8f94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* 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" } */
#include <objc/Object.h>
void foo(void) {
Object *o;
[o++ free];
}
/* { dg-final { scan-assembler-not "objc_msgSend" } } */
/* { dg-final { scan-assembler "bla.*fffeff00" } } */
|