[llvm-commits] [llvm-gcc-4.2] r60062 - in /llvm-gcc-4.2/trunk/gcc/testsuite: ./ bugs/powerpc/ g++.apple/ gcc.apple/ gcc.dg/ gcc.dg/cpp/ gcc.dg/pch/
Bill Wendling
isanbard at gmail.com
Tue Nov 25 15:00:57 PST 2008
Author: void
Date: Tue Nov 25 17:00:54 2008
New Revision: 60062
URL: http://llvm.org/viewvc/llvm-project?rev=60062&view=rev
Log:
Update test suite to Apple GCC's versions.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/ChangeLog.apple
llvm-gcc-4.2/trunk/gcc/testsuite/bugs/powerpc/gcc.xfail
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-23.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-61.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-dynamic-array.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-do.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for1.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-nested-while.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return1.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-switch.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-while.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-no-trampoline.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-1.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-2.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-3.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper.C
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6025404.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6308664.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-23.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-61.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-dynamic-array.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-do.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-nested-while.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-switch.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-while.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-no-trampoline.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-2.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-3.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-bitmask1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/uninit-test-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2s.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-2.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-version-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-3.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/dollar.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.hs
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-1.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-2.c
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/ChangeLog.apple
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/ChangeLog.apple?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/ChangeLog.apple (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/ChangeLog.apple Tue Nov 25 17:00:54 2008
@@ -1,3 +1,62 @@
+2008-11-18 Stuart Hastings <stuart at apple.com>
+
+ Radar 6385223
+ * gcc.apple/6025404.c: Check for SSSE3 support.
+
+2008-11-14 Fariborz Jahanian <fjahanian at apple.com>
+
+ Radar 6370136
+ * objc.dg/ok-unimplemented-anon-category.m: Add
+
+2008-11-11 Fariborz Jahanian <fjahanian at apple.com>
+
+ Radar 6351990
+ * objc.dg/objc2-objc2-protocol-3.m: New
+ * obj-c++.dg/objc2-objc2-protocol-3.mm: New
+
+2008-11-11 Stuart Hastings <stuart at apple.com>
+
+ Radar 4299257
+ * gcc.target/i386/4299257.c: New.
+
+2008-11-07 Fariborz Jahanian <fjahanian at apple.com>
+
+ Radar 5847976
+ * gcc.apple/block-weakblockassign.c: New
+ * gcc.apple/block-blocks-test-8.c: Removed
+ * gcc.apple/block-noescape-helper-3.c: Modified
+ * gcc.apple/block-escape-do.c: Modified
+ * gcc.apple/block-escape-switch.c: Modified
+ * gcc.apple/block-escape-return.c: Modified
+ * gcc.apple/block-escape-while.c: Modified
+ * gcc.apple/block-noescape-helper.c: Modified
+ * gcc.apple/block-escape-for.c: Modified
+ * gcc.apple/block-escape-nested-while.c: Modified
+ * gcc.apple/block-escape-for1.c: Modified
+ * gcc.apple/block-weakblock.c: Modified
+ * gcc.apple/block-noescape-helper-1.c: Modified
+ * gcc.apple/block-escape-return1.c: Modified
+ * gcc.apple/block-noescape-helper-2.c: Modified
+ * g++.apple/block-weakblockassign.C: New
+ * g++.apple/block-blocks-test-8.C: Removed
+ * g++.apple/block-noescape-helper-3.C: Modified
+ * g++.apple/block-escape-do.C: Modified
+ * g++.apple/block-escape-switch.C: Modified
+ * g++.apple/block-escape-return.C: Modified
+ * g++.apple/block-escape-while.C: Modified
+ * g++.apple/block-noescape-helper.C: Modified
+ * g++.apple/block-escape-for.C: Modified
+ * g++.apple/block-escape-nested-while.C: Modified
+ * g++.apple/block-escape-for1.C: Modified
+ * g++.apple/block-weakblock.C: Modified
+ * g++.apple/block-noescape-helper-1.C: Modified
+ * g++.apple/block-escape-return1.C: Modified
+ * g++.apple/block-noescape-helper-2.C: Modified
+
+2008-11-05 Stuart Hastings <stuart at apple.com>
+
+ * gcc.apple/6308664.c: Tweak to tolerate -fstack-protector-all.
+
2008-10-31 Stuart Hastings <stuart at apple.com>
Radar 5813291
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/bugs/powerpc/gcc.xfail
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/bugs/powerpc/gcc.xfail?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/bugs/powerpc/gcc.xfail (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/bugs/powerpc/gcc.xfail Tue Nov 25 17:00:54 2008
@@ -126,6 +126,12 @@
3904235: gcc.dg/wtr-unary-plus-1.c unary plus operator (test for warnings, line 13)
5275911: gcc.dg/invalid-call-1.c non-compatible type (test for warnings, line 18)
0000000: compiler driver --coverage option(s) (compiler options)
+6348516: gcc.dg/20050607-1.c (test for excess errors)
+6348516: gcc.dg/Wpadded.c (test for excess errors)
+6348517: gcc.dg/darwin-weakimport-1.c scan-assembler-not weak_[a-z \t]*_b
+6348517: gcc.dg/darwin-weakimport-3.c scan-assembler-not coalesced
+6348519: gcc.dg/pch/valid-2.c -O... -g (test for errors, line 3) [ 7 tests ]
+6348519: gcc.dg/pch/valid-2.c -O0 -g (test for errors, line 3) #1 [ 7 duplicate tests ]
#
# -fasm-blocks only
5087183: gcc.dg/cpp/19951227-1.c (test for errors, line 2)
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-23.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/asm-block-23.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-23.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-23.C Tue Nov 25 17:00:54 2008
@@ -13,5 +13,5 @@
nop ; ## of cols
nop ; of cols
}
- int i = 1st 0; /* { dg-error "invalid suffix" } */
+ int i = 1st; /* { dg-error "invalid suffix" } */
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-61.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/asm-block-61.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-61.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/asm-block-61.C Tue Nov 25 17:00:54 2008
@@ -4,11 +4,11 @@
/* Radar 4739936 */
int i = 9h;
-int j = 1st 0; /* { dg-error "invalid suffix on integer constant" } */
+int j = 1st; /* { dg-error "invalid suffix on integer constant" } */
void foo() {
asm {
- mov eax, 1st 0 /* { dg-error "invalid suffix on integer constant" } */
+ mov eax, 1st /* { dg-error "invalid suffix on integer constant" } */
mov eax, 1h
; foo 1st
; bye bye
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-dynamic-array.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-dynamic-array.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-dynamic-array.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-dynamic-array.C Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file radar 6212722 */
/* Test for use of array (dynamic or static) as copied in object in a block. */
/* { dg-options "-mmacosx-version-min=10.6 -ObjC++ -framework Foundation" { target *-*-darwin* } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-do run } */
#import <Foundation/Foundation.h>
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-do.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-do.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-do.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-do.C Tue Nov 25 17:00:54 2008
@@ -7,7 +7,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-for.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for.C Tue Nov 25 17:00:54 2008
@@ -6,7 +6,7 @@
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for1.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-for1.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for1.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-for1.C Tue Nov 25 17:00:54 2008
@@ -8,7 +8,7 @@
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-nested-while.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-nested-while.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-nested-while.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-nested-while.C Tue Nov 25 17:00:54 2008
@@ -8,7 +8,7 @@
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-return.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return.C Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern "C" void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return1.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-return1.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return1.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-return1.C Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern "C" void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-switch.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-switch.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-switch.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-switch.C Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern "C" void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-while.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-escape-while.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-while.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-escape-while.C Tue Nov 25 17:00:54 2008
@@ -6,7 +6,7 @@
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-no-trampoline.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-no-trampoline.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-no-trampoline.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-no-trampoline.C Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file radar 6230701 */
/* Test that no trampoline is generated for this test case. */
/* { dg-options "-mmacosx-version-min=10.6 -ObjC++ -framework Foundation -O0" { target *-*-darwin* } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-do run } */
#import <Foundation/NSObject.h>
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-1.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-noescape-helper-1.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-1.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-1.C Tue Nov 25 17:00:54 2008
@@ -7,12 +7,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-2.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-noescape-helper-2.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-2.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-2.C Tue Nov 25 17:00:54 2008
@@ -7,12 +7,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-3.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-noescape-helper-3.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-3.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper-3.C Tue Nov 25 17:00:54 2008
@@ -1,5 +1,5 @@
/* APPLE LOCAL file radar 6083129 byref escapes */
-/* Test for generation of escape _Block_byref_release call when a __block
+/* Test for generation of escape _Block_object_dispose call when a __block
variable inside a block is declared and used. */
/* { dg-options "-fblocks" } */
/* { dg-do run } */
@@ -7,13 +7,13 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
- ++count;
+static void _Block_object_dispose(void * arg, int flag) {
+ ++count;
}
void junk(void (^block)(void)) {
@@ -21,15 +21,15 @@
}
int test() {
- {
- void (^dummy)(void) = ^{ int __block i = 10; printf("i = %d\n", i); };
- junk(dummy);
- }
+ void (^dummy)(void) = ^{ int __block i = 10; printf("i = %d\n", i); };
+ junk(dummy);
return count;
}
-int main() {
- if (test() != 1)
- abort();
- return 0;
+int main()
+{
+ if ( test() != 1)
+ abort();
+ return 0;
}
+
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.apple/block-noescape-helper.C?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.apple/block-noescape-helper.C Tue Nov 25 17:00:54 2008
@@ -5,12 +5,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern "C" void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6025404.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6025404.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6025404.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6025404.c Tue Nov 25 17:00:54 2008
@@ -3,6 +3,7 @@
/* { dg-options "-O3 -mssse3" } */
#include <stdio.h>
#include <tmmintrin.h>
+#include "../gcc.dg/i386-cpuid.h"
void foo(__m128i *a, __m128i *b, __m128i c, __m128i d, __m128i e)
{
*a = _mm_maddubs_epi16(c, d);
@@ -10,9 +11,16 @@
}
int main(void)
{
+ unsigned long cpu_facilities;
union { char c[16]; __m128i v; } c = { -1 }, d = { 1 }, e = { 1 };
union { short s[8]; __m128i v; } a, b;
+ cpu_facilities = i386_cpuid_ecx ();
+
+ if ((cpu_facilities & (bit_SSSE3)) != (bit_SSSE3))
+ /* If host has no SSSE3 support, pass. */
+ return 0;
+
foo(&a.v, &b.v, c.v, d.v, e.v);
if (0)
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6308664.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6308664.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6308664.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/6308664.c Tue Nov 25 17:00:54 2008
@@ -1,7 +1,7 @@
/* APPLE LOCAL file 6308664 */
/* { dg-do compile { target i?86-*-darwin* x86_64-*-darwin* } } */
-/* { dg-options { -m64 } } */
-/* { dg-final { scan-assembler-not "GOTPCREL" } } */
+/* { dg-options { -m64 -mfix-and-continue } } */
+/* { dg-final { scan-assembler-not " L.*@GOTPCREL" } } */
extern void doit(double x);
void test()
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-23.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-23.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-23.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-23.c Tue Nov 25 17:00:54 2008
@@ -13,5 +13,5 @@
nop ; ## of cols
nop ; of cols
}
- int i = 1st 0; /* { dg-error "invalid suffix" } */
+ int i = 1st; /* { dg-error "invalid suffix" } */
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-61.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-61.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-61.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/asm-block-61.c Tue Nov 25 17:00:54 2008
@@ -4,11 +4,11 @@
/* Radar 4739936 */
int i = 9h;
-int j = 1st 0; /* { dg-error "invalid suffix on integer constant" } */
+int j = 1st; /* { dg-error "invalid suffix \"st\" on integer constant" } */
void foo() {
asm {
- mov eax, 1st 0 /* { dg-error "invalid suffix on integer constant" } */
+ mov eax, 1st /* { dg-error "invalid suffix \"st\" on integer constant" } */
mov eax, 1h
; foo 1st
; bye bye
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-dynamic-array.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-dynamic-array.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-dynamic-array.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-dynamic-array.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file radar 6212722 */
/* Test for use of array (dynamic or static) as copied in object in a block. */
/* { dg-options "-mmacosx-version-min=10.6 -ObjC -framework Foundation" { target *-*-darwin* } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-do run } */
#import <Foundation/Foundation.h>
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-do.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-do.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-do.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-do.c Tue Nov 25 17:00:54 2008
@@ -7,7 +7,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for.c Tue Nov 25 17:00:54 2008
@@ -6,7 +6,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-for1.c Tue Nov 25 17:00:54 2008
@@ -8,7 +8,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-nested-while.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-nested-while.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-nested-while.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-nested-while.c Tue Nov 25 17:00:54 2008
@@ -8,7 +8,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return.c Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-return1.c Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-switch.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-switch.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-switch.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-switch.c Tue Nov 25 17:00:54 2008
@@ -6,10 +6,10 @@
#include <stdio.h>
extern void abort(void);
-void _Block_byref_assign_copy(void *a, void *b){};
+void _Block_object_assign(void *a, void *b, int flag){};
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
printf ("%p\n", arg);
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-while.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-while.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-while.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-escape-while.c Tue Nov 25 17:00:54 2008
@@ -6,7 +6,7 @@
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-no-trampoline.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-no-trampoline.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-no-trampoline.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-no-trampoline.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file radar 6230701 */
/* Test that no trampoline is generated for this test case. */
/* { dg-options "-mmacosx-version-min=10.6 -ObjC -framework Foundation -O0" { target *-*-darwin* } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-do run } */
#import <Foundation/NSObject.h>
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-1.c Tue Nov 25 17:00:54 2008
@@ -1,5 +1,5 @@
/* APPLE LOCAL file radar 6083129 byref escapes */
-/* Test for generation of escape _Block_byref_release call when a local
+/* Test for generation of escape _Block_object_dispose call when a local
__block variable is copied in. */
/* { dg-options "-fblocks" } */
/* { dg-do run } */
@@ -7,12 +7,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-2.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-2.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-2.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-2.c Tue Nov 25 17:00:54 2008
@@ -1,5 +1,5 @@
/* APPLE LOCAL file radar 6083129 byref escapes */
-/* Test for generation of escape _Block_byref_release call when a local
+/* Test for generation of escape _Block_object_dispose call when a local
__block variable is copied in and block has a return statement. */
/* { dg-options "-fblocks" } */
/* { dg-do run } */
@@ -7,12 +7,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-3.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-3.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-3.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper-3.c Tue Nov 25 17:00:54 2008
@@ -1,5 +1,5 @@
/* APPLE LOCAL file radar 6083129 byref escapes */
-/* Test for generation of escape _Block_byref_release call when a __block
+/* Test for generation of escape _Block_object_dispose call when a __block
variable inside a block is declared and used. */
/* { dg-options "-fblocks" } */
/* { dg-do run } */
@@ -7,12 +7,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/block-noescape-helper.c Tue Nov 25 17:00:54 2008
@@ -5,12 +5,12 @@
#include <stdio.h>
void *_NSConcreteStackBlock;
-void _Block_byref_assign_copy(void * dst, void *src){}
+void _Block_object_assign(void * dst, void *src, int flag){}
extern void abort(void);
static int count;
-static void _Block_byref_release(void * arg) {
+static void _Block_object_dispose(void * arg, int flag) {
++count;
}
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-bitmask1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-bitmask1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-bitmask1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-bitmask1.c Tue Nov 25 17:00:54 2008
@@ -5,15 +5,12 @@
/* LLVM LOCAL */
/* { dg-final { scan-assembler "and.*(0xffffff00|4294967040)" } } */
unsigned char lut[256];
-/* LLVM LOCAL make these global */
-unsigned int *srcptr, *dstptr;
void foo( int count )
{
int j;
- /* LLVM LOCAL begin remove uninitialized srcptr, dstptr */
- /* LLVM LOCAL end */
+ unsigned int *srcptr, *dstptr;
for (j = 0; j < count; j++) {
unsigned int tmp = *srcptr;
unsigned int alpha = (tmp&255);
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/uninit-test-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/uninit-test-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/uninit-test-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/uninit-test-1.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,6 @@
/* Radar 4964532 */
/* { dg-do compile } */
-/* { dg-options "-O2 -gdwarf-2 -dA -mmacosx-version-min=10.4" { target powerpc*-*-darwin* i?86*-*-darwin* } } */
+/* { dg-options "-O2 -gdwarf-2 -dA -mmacosx-version-min=10.4 -m32" { target powerpc*-*-darwin* i?86*-*-darwin* } } */
/* { dg-options "-O2 -gdwarf-2 -dA" { target arm*-*-darwin* } } */
/* { dg-final { scan-assembler "DW_OP_APPLE_uninit" } } */
#include <stdio.h>
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2.c Tue Nov 25 17:00:54 2008
@@ -4,8 +4,8 @@
/* Test of prohibition on directives which result from macro expansion.
See also direct2s.c */
-/* { dg-do compile } */
-
+/* { dg-do compile } */ /* APPLE LOCAL CW asm blocks 6338079 */
+/* { dg-options "-ansi -pedantic-errors -fno-asm-blocks" } */
#define HASH #
#define HASHDEFINE #define
#define HASHINCLUDE #include
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2s.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2s.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2s.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/direct2s.c Tue Nov 25 17:00:54 2008
@@ -5,8 +5,8 @@
expansion. Same as direct2.c, with -save-temps applied; results
should be identical. */
-/* { dg-do compile } */
-/* { dg-options "-save-temps -ansi -pedantic-errors" } */
+/* { dg-do compile } */ /* APPLE LOCAL CW asm blocks 6338079 */
+/* { dg-options "-save-temps -ansi -pedantic-errors -fno-asm-blocks" } */
#define HASH #
#define HASHDEFINE #define
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-1.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file mainline 2007-02-20 5005743 */
/* Basic test for -mmacosx-version-min switch on Darwin. */
-/* { dg-options "-mmacosx-version-min=10.1" } */
+/* APPLE LOCAL 64-bit default */
+/* { dg-options "-mmacosx-version-min=10.1 -m32" } */
/* { dg-do run { target powerpc*-*-darwin* i?86*-*-darwin* } } */
int main(void)
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-2.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-2.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-2.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-minversion-2.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* APPLE LOCAL file mainline 2007-02-20 5005743 */
/* Basic test for -mmacosx-version-min switch on Darwin. */
-/* { dg-options "-mmacosx-version-min=10.1 -mmacosx-version-min=10.3" } */
+/* APPLE LOCAL 64-bit default */
+/* { dg-options "-mmacosx-version-min=10.1 -mmacosx-version-min=10.3 -m32" } */
/* { dg-do run { target powerpc*-*-darwin* i?86*-*-darwin* } } */
int main(void)
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-version-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-version-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-version-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-version-1.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,7 @@
/* Basic test of the -mmacosx-version-min option. */
-/* { dg-options "-mmacosx-version-min=10.1" } */
+/* APPLE LOCAL 64-bit default */
+/* { dg-options "-mmacosx-version-min=10.1 -m32" } */
/* APPLE LOCAL ARM */
/* { dg-do link { target powerpc*-*-darwin* i?86*-*-darwin* } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-1.c Tue Nov 25 17:00:54 2008
@@ -1,6 +1,8 @@
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-require-weak "" } */
/* { dg-options "-fno-common -fno-asynchronous-unwind-tables" } */
+/* APPLE LOCAL 64-bit default objective-c 6348517 */
+/* { dg-options "-fno-common -fno-asynchronous-unwind-tables -m32" { target { i?86-*-darwin* x86_64-*-darwin* } } } */
/* { dg-final { scan-assembler "weak_reference _a" } } */
/* { dg-final { scan-assembler-not "weak_\[a-z \t\]*_b" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-3.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-3.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-3.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/darwin-weakimport-3.c Tue Nov 25 17:00:54 2008
@@ -1,5 +1,7 @@
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-options "-fno-asynchronous-unwind-tables" } */
+/* APPLE LOCAL 64-bit default objective-c 6348517 */
+/* { dg-options "-fno-common -fno-asynchronous-unwind-tables -m32" { target { i?86-*-darwin* x86_64-*-darwin* } } } */
/* { dg-require-weak "" } */
/* { dg-final { scan-assembler-not "coalesced" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/dollar.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/dollar.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/dollar.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/dollar.c Tue Nov 25 17:00:54 2008
@@ -2,6 +2,8 @@
/* { dg-do compile } */
/* { dg-options -fno-dollars-in-identifiers } */
+/* APPLE LOCAL CW asm blocks 6338079 */
+/* { dg-options "-fno-dollars-in-identifiers -fno-asm-blocks" } */
/* Test that -fno-dollars-in-identifiers is honoured.
Neil Booth, 17 May 2003. */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.c Tue Nov 25 17:00:54 2008
@@ -1,5 +1,7 @@
/* { dg-options "-I. -Winvalid-pch -fexceptions" } */
+/* APPLE LOCAL 64-bit default for objc 6348519 */
+/* { dg-options "-I. -Winvalid-pch -fexceptions -m32" { target { i?86-*-darwin* x86_64-*-darwin* } } } */
#include "valid-2.h"/* { dg-error "settings for -fexceptions do not match|No such file|they were invalid" } */
int x;
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.hs
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.hs?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.hs (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/pch/valid-2.hs Tue Nov 25 17:00:54 2008
@@ -1 +1,3 @@
+/* APPLE LOCAL 64-bit default for objc 6348519 */
+/* { dg-options "-m32" { target { i?86-*-darwin* x86_64-*-darwin* } } } */
extern int x;
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-1.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-1.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-1.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-1.c Tue Nov 25 17:00:54 2008
@@ -5,7 +5,7 @@
Contributed by Hans-Peter Nilsson <hp at bitrange.com> */
/* { dg-do run } */
-/* APPLE LOCAL 5886557 explicitly disable inlining. */
+/* LLVM LOCAL 5886557 explicitly disable inlining. */
/* { dg-options "-O2 -foptimize-sibling-calls -fno-inline-functions" } */
/* The option -foptimize-sibling-calls is the default, but serves as
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-2.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-2.c?rev=60062&r1=60061&r2=60062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-2.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/sibcall-2.c Tue Nov 25 17:00:54 2008
@@ -5,7 +5,7 @@
Contributed by Hans-Peter Nilsson <hp at bitrange.com> */
/* { dg-do run } */
-/* APPLE LOCAL 5886557 explicitly disable inlining. */
+/* LLVM LOCAL 5886557 explicitly disable inlining. */
/* { dg-options "-O2 -foptimize-sibling-calls -fno-inline-functions" } */
/* The option -foptimize-sibling-calls is the default, but serves as
More information about the llvm-commits
mailing list