2005-04-13 Dale Johannesen <dalej@apple.com>
* objc.dg/objc-fast-4.m: New.
From-SVN: r98106
+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
--- /dev/null
+// 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" } } */