Commit fda5e936 by Dale Johannesen Committed by Dale Johannesen

objc-fast-4.m: New.

2005-04-13  Dale Johannesen  <dalej@apple.com>

        * objc.dg/objc-fast-4.m:  New.

From-SVN: r98106
parent 43f479d6
2005-04-13 Dale Johannesen <dalej@apple.com>
* objc.dg/objc-fast-4.m: New.
2005-04-13 Hans-Peter Nilsson <hp@axis.com>
* gcc.target/cris/torture/cris-torture.exp: New driver in new
......
// The code should call objc_msgSend directly, not through a pointer.
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-O0 -fnext-runtime" } */
#include <objc/Object.h>
void foo(void) {
Object *o;
[o++ free];
}
/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment