shebs 02/09/02 06:28:39
Modified: gcc/testsuite/g++.dg const-cfstring-1.C kext1.C
pascal-strings-1.C pascal-strings-2.C
gcc/testsuite/gcc.dg 20020416-1.c c99-complex-1.c dg.exp
typespec-1.c wtr-conversion-1.c
gcc/testsuite/gcc.dg/cpp sysmac2.c
gcc/testsuite/gcc.dg/debug 20020220-1.c
gcc/testsuite/gcc.dg/format c90-printf-1.c c90-scanf-1.c
strfmon-1.c
gcc/testsuite/lib gcc.exp objc.exp
gcc/testsuite/objc.dg const-cfstring-1.m dg.exp
Added: gcc/testsuite/objc.dg objc.c
Removed: gcc/testsuite/gcc.dg altivec-6.c apple-altivec-1.c
const-cfstring-1.c pascal-strings-1.c
pascal-strings-2.c
Log:
Revision Changes Path
1.3 +1 -1 gcc3/gcc/testsuite/g++.dg/const-cfstring-1.C
Index: const-cfstring-1.C
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/g++.dg/const-cfstring-1.C,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- const-cfstring-1.C 2002/08/27 22:54:42 1.2
+++ const-cfstring-1.C 2002/09/02 13:28:34 1.3
@@ -4,7 +4,7 @@
argument. This will only work on MacOS X 10.1.2 and later. */
/* Developed by Ziemowit Laski <[EMAIL PROTECTED]>. */
-/* { dg-do compile { target powerpc-apple-darwin* } */
+/* { dg-do compile { target powerpc-apple-darwin* } } */
/* { dg-options "-fconstant-cfstrings" } */
#import <CoreFoundation/CFString.h>
1.3 +1 -1 gcc3/gcc/testsuite/g++.dg/kext1.C
Index: kext1.C
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/g++.dg/kext1.C,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- kext1.C 2002/07/31 19:53:15 1.2
+++ kext1.C 2002/09/02 13:28:34 1.3
@@ -1,4 +1,4 @@
-/* APPLE LOCAL file Negative C++ test case 30 Jul 2002 */
+/* APPLE LOCAL file -fapple-kext 2002-07-30 */
/* Origin: Matt Austern <[EMAIL PROTECTED]> */
/* { dg-do compile } */
/* { dg-options "-fapple-kext" } */
1.4 +2 -1 gcc3/gcc/testsuite/g++.dg/pascal-strings-1.C
Index: pascal-strings-1.C
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/g++.dg/pascal-strings-1.C,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pascal-strings-1.C 2002/04/21 18:00:33 1.3
+++ pascal-strings-1.C 2002/09/02 13:28:34 1.4
@@ -1,4 +1,5 @@
-/* APPLE LOCAL file Positive C++ test cases 2001-07-05 zll */
+/* APPLE LOCAL file Pascal strings 2001-07-05 zll */
+/* Positive C++ test cases. */
/* Origin: Ziemowit Laski <[EMAIL PROTECTED]> */
/* { dg-do run } */
/* { dg-options "-fpascal-strings" } */
1.4 +2 -1 gcc3/gcc/testsuite/g++.dg/pascal-strings-2.C
Index: pascal-strings-2.C
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/g++.dg/pascal-strings-2.C,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pascal-strings-2.C 2002/04/21 18:00:33 1.3
+++ pascal-strings-2.C 2002/09/02 13:28:34 1.4
@@ -1,4 +1,5 @@
-/* APPLE LOCAL file Negative C++ test cases 2001-07-05 zll */
+/* APPLE LOCAL file Pascal strings 2001-07-05 zll */
+/* Negative C++ test cases. */
/* Origin: Ziemowit Laski <[EMAIL PROTECTED]> */
/* { dg-do compile } */
/* { dg-options "-fpascal-strings" } */
1.2 +2 -1 gcc3/gcc/testsuite/gcc.dg/20020416-1.c
Index: 20020416-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/20020416-1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 20020416-1.c 2002/04/20 23:05:56 1.1
+++ 20020416-1.c 2002/09/02 13:28:35 1.2
@@ -1,6 +1,7 @@
/* PR bootstrap/6315 */
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-O2 -Wno-long-double" } */
/* { dg-options "-O2 -mhard-quad-float" { target sparc*-*-* } } */
/* { dg-options "-O2" { target sparclet*-*-* sparclite*-*-* sparc86x-*-* } } */
1.3 +2 -1 gcc3/gcc/testsuite/gcc.dg/c99-complex-1.c
Index: c99-complex-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/c99-complex-1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- c99-complex-1.c 2001/09/14 01:27:36 1.2
+++ c99-complex-1.c 2002/09/02 13:28:35 1.3
@@ -1,7 +1,8 @@
/* Test for _Complex: in C99 only. A few basic tests. */
/* Origin: Joseph Myers <[EMAIL PROTECTED]> */
/* { dg-do compile } */
-/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=iso9899:1999 -pedantic-errors -Wno-long-double" } */
/* Test _Complex allowed on floating types. */
1.3 +1 -1 gcc3/gcc/testsuite/gcc.dg/dg.exp
Index: dg.exp
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/dg.exp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dg.exp 2001/09/14 01:27:41 1.2
+++ dg.exp 2002/09/02 13:28:35 1.3
@@ -22,7 +22,7 @@
# If a testcase doesn't have special options, use these.
global DEFAULT_CFLAGS
if ![info exists DEFAULT_CFLAGS] then {
- set DEFAULT_CFLAGS " -ansi -pedantic-errors"
+ set DEFAULT_CFLAGS " -ansi -pedantic-errors -Wno-long-double"
}
# Initialize `dg'.
1.2 +2 -1 gcc3/gcc/testsuite/gcc.dg/typespec-1.c
Index: typespec-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/typespec-1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- typespec-1.c 2002/08/25 20:54:38 1.1
+++ typespec-1.c 2002/09/02 13:28:36 1.2
@@ -11,7 +11,8 @@
not requiring -pedantic. */
/* Origin: Joseph Myers <[EMAIL PROTECTED]> */
/* { dg-do compile } */
-/* { dg-options "-std=gnu99" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=gnu99 -Wno-long-double" } */
typedef char type;
void *x0;
1.4 +2 -1 gcc3/gcc/testsuite/gcc.dg/wtr-conversion-1.c
Index: wtr-conversion-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/wtr-conversion-1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- wtr-conversion-1.c 2002/08/02 10:09:20 1.3
+++ wtr-conversion-1.c 2002/09/02 13:28:36 1.4
@@ -2,7 +2,8 @@
Note, gcc should omit these warnings in system header files.
By Kaveh R. Ghazi <[EMAIL PROTECTED]> 4/09/2001. */
/* { dg-do compile } */
-/* { dg-options "-Wtraditional" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-Wtraditional -Wno-long-double" } */
extern void foo_i (int);
extern void foo_f (float);
1.4 +2 -1 gcc3/gcc/testsuite/gcc.dg/cpp/sysmac2.c
Index: sysmac2.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/cpp/sysmac2.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sysmac2.c 2002/08/02 10:09:24 1.3
+++ sysmac2.c 2002/09/02 13:28:37 1.4
@@ -1,7 +1,8 @@
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* { dg-do compile } */
-/* { dg-options "-std=gnu99 -pedantic -Wtraditional -fno-show-column" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=gnu99 -pedantic -Wtraditional -fno-show-column
-Wno-long-double" } */
/* Tests diagnostics are suppressed for some macros defined in system
headers. */
1.2 +2 -0 gcc3/gcc/testsuite/gcc.dg/debug/20020220-1.c
Index: 20020220-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/debug/20020220-1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 20020220-1.c 2002/03/14 03:58:22 1.1
+++ 20020220-1.c 2002/09/02 13:28:37 1.2
@@ -3,6 +3,8 @@
constant -4.0 in constant pool was never referenced by anything
but Dwarf-2 location descriptor. */
/* { dg-do run } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-Wno-long-double" } */
void __attribute__((noinline))
foo (const char *x __attribute__((unused)),
1.3 +2 -1 gcc3/gcc/testsuite/gcc.dg/format/c90-printf-1.c
Index: c90-printf-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/format/c90-printf-1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- c90-printf-1.c 2001/09/14 01:28:55 1.2
+++ c90-printf-1.c 2002/09/02 13:28:37 1.3
@@ -4,7 +4,8 @@
*/
/* Origin: Joseph Myers <[EMAIL PROTECTED]> */
/* { dg-do compile } */
-/* { dg-options "-std=iso9899:1990 -pedantic -Wformat" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=iso9899:1990 -pedantic -Wformat -Wno-long-double" } */
#include "format.h"
1.3 +2 -1 gcc3/gcc/testsuite/gcc.dg/format/c90-scanf-1.c
Index: c90-scanf-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/format/c90-scanf-1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- c90-scanf-1.c 2001/09/14 01:28:55 1.2
+++ c90-scanf-1.c 2002/09/02 13:28:37 1.3
@@ -4,7 +4,8 @@
*/
/* Origin: Joseph Myers <[EMAIL PROTECTED]> */
/* { dg-do compile } */
-/* { dg-options "-std=iso9899:1990 -pedantic -Wformat" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=iso9899:1990 -pedantic -Wformat -Wno-long-double" } */
#include "format.h"
1.4 +2 -1 gcc3/gcc/testsuite/gcc.dg/format/strfmon-1.c
Index: strfmon-1.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/gcc.dg/format/strfmon-1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- strfmon-1.c 2001/12/01 19:15:55 1.3
+++ strfmon-1.c 2002/09/02 13:28:37 1.4
@@ -1,7 +1,8 @@
/* Test for strfmon format checking. */
/* Origin: Joseph Myers <[EMAIL PROTECTED]> */
/* { dg-do compile } */
-/* { dg-options "-std=gnu99 -Wformat" } */
+/* APPLE LOCAL -Wlong-double */
+/* { dg-options "-std=gnu99 -Wformat -Wno-long-double" } */
#include "format.h"
1.14 +1 -2 gcc3/gcc/testsuite/lib/gcc.exp
Index: gcc.exp
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/lib/gcc.exp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- gcc.exp 2002/08/13 05:59:09 1.13
+++ gcc.exp 2002/09/02 13:28:38 1.14
@@ -146,8 +146,7 @@
if { 1 } {
lappend options "additional_flags=-DNO_LABEL_VALUES"
# APPLE LOCAL cpp-precomp
- # APPLE LOCAL long double warning
- lappend options "additional_flags=-no-cpp-precomp -Wno-long-double"
+ lappend options "additional_flags=-no-cpp-precomp"
}
if [info exists TOOL_OPTIONS] {
lappend options "additional_flags=$TOOL_OPTIONS"
1.7 +1 -1 gcc3/gcc/testsuite/lib/objc.exp
Index: objc.exp
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/lib/objc.exp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- objc.exp 2002/08/13 05:59:09 1.6
+++ objc.exp 2002/09/02 13:28:38 1.7
@@ -162,7 +162,7 @@
if [target_info exists objc,no_label_values] {
lappend options "additional_flags=-DNO_LABEL_VALUES"
}
- # APPLE LOCAL
+ # APPLE LOCAL cpp-precomp
lappend options "additional_flags=-no-cpp-precomp"
if [info exists TOOL_OPTIONS] {
lappend options "additional_flags=$TOOL_OPTIONS"
1.3 +1 -1 gcc3/gcc/testsuite/objc.dg/const-cfstring-1.m
Index: const-cfstring-1.m
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/objc.dg/const-cfstring-1.m,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- const-cfstring-1.m 2002/08/27 22:54:43 1.2
+++ const-cfstring-1.m 2002/09/02 13:28:38 1.3
@@ -5,7 +5,7 @@
on MacOS X 10.1.2 and later. */
/* Developed by Ziemowit Laski <[EMAIL PROTECTED]>. */
-/* { dg-do run { target powerpc-apple-darwin* } */
+/* { dg-do run { target powerpc-apple-darwin* } } */
/* { dg-options "-fconstant-cfstrings -framework Cocoa" } */
#import <Foundation/NSString.h>
1.3 +2 -1 gcc3/gcc/testsuite/objc.dg/dg.exp
Index: dg.exp
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/testsuite/objc.dg/dg.exp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dg.exp 2001/09/14 01:29:45 1.2
+++ dg.exp 2002/09/02 13:28:38 1.3
@@ -28,7 +28,8 @@
dg-init
# Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[m\]]] \
+# APPLE LOCAL -ObjC
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[mc\]]] \
"" $DEFAULT_CFLAGS
# All done.
1.1 gcc3/gcc/testsuite/objc.dg/objc.c
Index: objc.c
===================================================================
/* APPLE LOCAL file -ObjC */
/* { dg-do compile } */
/* { dg-options "-ObjC" } */
@class foo;