This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.2 Branch Closure


I wrote:
> > By the way, what is the status of 8146 for the trunk?  Is it resolved?

Eric Botcazou writes:
> Nope.

I've just found something very odd.

HJ's patch to the branch says that it fixes bootstrap/8146 as well
as gcc.c-torture/execute/20020307-2.c with -march=i686.

But in my checkout of the trunk, 

gcc/gcc/testsuite/gcc.c-torture/execute/20020307-2.c

does not exist (though 20020307-1.c does), however, in my checkout of
the branch,

gcc/gcc/testsuite/gcc.c-torture/execute/20020307-2.c

does exist.  Why do we have a test on the branch that isn't in the trunk?

Here is a recursive diff of the gcc.c-torture directories between trunk
and branch.  I pruned out CVS junk and a couple of spelling differences
in comments.  My main worry is cases where the trunk doesn't have a test
that the branch has: that seems to be setting us up to miss a regression.

---------------------------------
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile/20000804-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000804-1.x
7d6
<       return 1
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.x
3a4,8
> global target_triplet
> if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
>       set torture_compile_xfail "$target_triplet"
> }
> 
8,11c13,19
< global target_triplet
< if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] || [istarget "xtensa-*-*"]} {
<       set torture_compile_xfail "$target_triplet"
<       return 1
---
> set torture_eval_before_compile {
>     set compiler_conditional_xfail_data {
>         "jump beyond 128K not supported" \
>         "xtensa-*-*" \
>         { "-O0" } \
>         { "" }
>     }
12a21
> 
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020303-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020314-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020319-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020415-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020604-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020604-1.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020706-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020706-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020709-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020910-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20020930-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20021001-1.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile: 20021015-1.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile: 20021015-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20021103-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: 20021108-1.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile/920520-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/compile/920520-1.x
9d8
<       return 1
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile/920625-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/compile/920625-1.x
20c20
<         { "-O2" "-O3" "-Os" } \
---
>         { "-O1" "-O2" "-O3" "-Os" } \
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile: 930326-1.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/compile/981006-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/compile/981006-1.x
10a11
>      || [istarget mn10200*-*-*]
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-1.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-2.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-3.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-3.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-4.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: mipscop-4.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-3.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-4.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-5.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/compile: simd-5.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/20000217-1.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/20000217-1.c
13c13
< 	  abort (0);
---
> 	  abort ();
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/20010122-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/execute/20010122-1.x
1,2c1,3
< # This doesn't work on MIPS Irix.
< # See http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00473.html
---
> # This test relies on __builtin_return_address(1) returning something
> # useful or NULL.  This is not guaranteed to be be so, especially when 
> # -fomit-frame-pointer is used.  So do not test with it.
4,5c5,8
< if { [istarget "mips*-sgi-irix6*"] } {
< 	set torture_execute_xfail "mips*-sgi-irix6*"
---
> set torture_eval_before_compile {
>   if {[string match {*-fomit-frame-pointer*} "$option"]} {
>     continue
>   }
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/20010915-1.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/20010915-1.c
56c56
<     abort;
---
>     abort ();
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020225-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020226-1.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: 20020307-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020328-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020412-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020506-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020508-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020508-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020508-3.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020510-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020720-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020720-1.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020805-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020911-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20020916-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20021010-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20021010-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 20021011-1.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: 20021024-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: 920710-1.x
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: 920730-1t.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: 920730-1t.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/941014-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/execute/941014-1.x
1c1
< # This doesn't work for thumb-elf
---
> # This doesn't always work for Thumb.
3,4c3,13
< if { [istarget "thumb-*-elf"] } {
<         set torture_execute_xfail "thumb-*-elf"
---
> if { [istarget arm*-*-*] || [istarget xscale*-*-*] \
>      || [istarget strongarm*-*-*] } {
>     set torture_eval_before_execute {
> 	global compiler_conditional_xfail_data
> 	set compiler_conditional_xfail_data {
> 	    "Thumb sets the last bit of function relocations" \
> 		    { "arm*-*-*" "xscale*-*-*" "strongarm*-*-*" } \
> 		    { { "-mthumb" "-O0" } } \
> 		    { "" }
> 	}
>     }
5a15
> 
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/990208-1.x trunk/gcc/gcc/testsuite/gcc.c-torture/execute/990208-1.x
8c8
< 	"ia64-*-*" \
---
> 	{ "ia64-*-*" "arm*-*-*" "strongarm*-*-*" "xscale*-*-*" } \
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/991216-3.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/991216-3.c
1c1
< #include <varargs.h>
---
> #include <stdarg.h>
7,8c7
< test (va_alist)
<      va_dcl
---
> test (int n, ...)
11c10,12
<   int i, n;
---
>   int i;
> 
>   va_start (ap, n);
13,14d13
<   va_start (ap);
<   n = va_arg (ap, int);
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: arith-rand-ll.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: builtin-constant.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/builtin-noret-1.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/builtin-noret-1.c
6d5
< #if 0 /* Doesn't work with prototype (bug?).  */
9d7
< #endif
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: compare-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: compare-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: compare-3.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/conversion.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/conversion.c
24a25,31
> long double
> u2ld(u)
>      unsigned int u;
> {
>   return u;
> }
> 
38a46,52
> long double
> s2ld(s)
>      int s;
> {
>   return s;
> }
> 
52a67,73
> int
> ldnear (long double x, long double y)
> {
>   long double t = x - y;
>   return t == 0 || x / t > 100000000000000000000000000000000.0;
> }
> 
72a94,102
>   if (u2ld(0U) != (long double) 0U)			/* 0 */
>     abort();
>   if (!ldnear (u2ld(~0U), (long double) ~0U))		/* 0xffffffff */
>     abort();
>   if (!ldnear (u2ld((~0U) >> 1),(long double) ((~0U) >> 1)))	/* 0x7fffffff */
>     abort();
>   if (u2ld(~((~0U) >> 1)) != (long double) ~((~0U) >> 1))	/* 0x80000000 */
>     abort();
> 
89a120,128
> 
>   if (s2ld(0) != (long double) 0)			/* 0 */
>     abort();
>   if (!ldnear (s2ld(~0), (long double) ~0))		/* 0xffffffff */
>     abort();
>   if (!ldnear (s2ld((int)((~0U) >> 1)), (long double)(int)((~0U) >> 1))) /* 0x7fffffff */
>     abort();
>   if (s2ld((int)~((~0U) >> 1)) != (long double)(int)~((~0U) >> 1)) /* 0x80000000 */
>     abort();
106a146,152
> long double
> ull2ld(u)
>      unsigned long long int u;
> {
>   return u;
> }
> 
120a167,173
> long double
> sll2ld(s)
>      long long int s;
> {
>   return s;
> }
> 
149a203,211
>   if (ull2ld(0ULL) != (long double) 0ULL)		/* 0 */
>     abort();
>   if (ull2ld(~0ULL) != (long double) ~0ULL)		/* 0xffffffff */
>     abort();
>   if (ull2ld((~0ULL) >> 1) != (long double) ((~0ULL) >> 1))	/* 0x7fffffff */
>     abort();
>   if (ull2ld(~((~0ULL) >> 1)) != (long double) ~((~0ULL) >> 1)) /* 0x80000000 */
>     abort();
> 
166a229,237
> 
>   if (sll2ld(0LL) != (long double) 0LL)			/* 0 */
>     abort();
>   if (sll2ld(~0LL) != (long double) ~0LL)		/* 0xffffffff */
>     abort();
>   if (!ldnear (sll2ld((long long int)((~0ULL) >> 1)), (long double)(long long int)((~0ULL) >> 1))) /* 0x7fffffff */
>     abort();
>   if (! ldnear (sll2ld((long long int)~((~0ULL) >> 1)), (long double)(long long int)~((~0ULL) >> 1))) /* 0x80000000 */
>     abort();
181a253,258
> unsigned int
> ld2u(long double d)
> {
>   return (unsigned) d;
> }
> 
193a271,276
> int
> ld2s(long double d)
> {
>   return (int) d;
> }
> 
228a312,330
>  /* These tests require long double precision, so for hosts that don't offer
>     that much precision, just ignore these test.  */
>  if (sizeof (long double) >= 8) {
>   if (ld2u(0.0) != 0)
>     abort();
>   if (ld2u(0.999) != 0)
>     abort();
>   if (ld2u(1.0) != 1)
>     abort();
>   if (ld2u(1.99) != 1)
>     abort();
>   if (ld2u((long double) (~0U)) != ~0U)			/* 0xffffffff */
>     abort();
>   if (ld2u((long double) ((~0U) >> 1)) != (~0U) >> 1)	/* 0x7fffffff */
>     abort();
>   if (ld2u((long double) ~((~0U) >> 1)) != ~((~0U) >> 1))	/* 0x80000000 */
>     abort();
>  }
> 
267a370,392
> 
>  /* These tests require long double precision, so for hosts that don't offer
>     that much precision, just ignore these test.  */
>  if (sizeof (long double) >= 8) {
>   if (ld2s(0.0) != 0)
>     abort();
>   if (ld2s(0.999) != 0)
>     abort();
>   if (ld2s(1.0) != 1)
>     abort();
>   if (ld2s(1.99) != 1)
>     abort();
>   if (ld2s(-0.999) != 0)
>     abort();
>   if (ld2s(-1.0) != -1)
>     abort();
>   if (ld2s(-1.99) != -1)
>     abort();
>   if (ld2s((long double) ((~0U) >> 1)) != (~0U) >> 1)		/* 0x7fffffff */
>     abort();
>   if (ld2s((long double)(int)~((~0U) >> 1)) != (int)~((~0U) >> 1)) /* 0x80000000 */
>     abort();
>  }
282a408,413
> unsigned long long int
> ld2ull(long double d)
> {
>   return (unsigned long long int) d;
> }
> 
294a426,431
> long long int
> ld2sll(long double d)
> {
>   return (long long int) d;
> }
> 
324a462,475
>   if (ld2ull(0.0) != 0LL)
>     abort();
>   if (ld2ull(0.999) != 0LL)
>     abort();
>   if (ld2ull(1.0) != 1LL)
>     abort();
>   if (ld2ull(1.99) != 1LL)
>     abort();
>   if (ld2ull((long double) ((~0ULL) >> 1)) != (~0ULL) >> 1 &&	/* 0x7fffffff */
>       ld2ull((long double) ((~0ULL) >> 1)) != ((~0ULL) >> 1) + 1)
>     abort();
>   if (ld2ull((long double) ~((~0ULL) >> 1)) != ~((~0ULL) >> 1)) /* 0x80000000 */
>     abort();
> 
357a509,525
>     abort();
> 
>   if (ld2sll(0.0) != 0LL)
>     abort();
>   if (ld2sll(0.999) != 0LL)
>     abort();
>   if (ld2sll(1.0) != 1LL)
>     abort();
>   if (ld2sll(1.99) != 1LL)
>     abort();
>   if (ld2sll(-0.999) != 0LL)
>     abort();
>   if (ld2sll(-1.0) != -1LL)
>     abort();
>   if (ld2sll(-1.99) != -1LL)
>     abort();
>   if (ld2sll((long double)(long long int)~((~0ULL) >> 1)) != (long long int)~((~0ULL) >> 1)) /* 0x80000000 */
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: ffs-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: ffs-2.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/20010226-1.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/20010226-1.c
0a1,2
> #include <float.h>
> 
6c8
< int main( )
---
> int main()
8c10,14
<   m1 = dfrom / 2.0;
---
>   /* Some targets don't support a conforming long double type.  This is
>      common with very small parts which set long double == float.   Look
>      to see if the type has at least 32 bits of precision.  */
>   if (LDBL_EPSILON > 0x1p-31L)
>     return 0;
9a16
>   m1 = dfrom / 2.0;
13,14c20,21
<   if ( mant_long == 0x8ccccccc)
<     exit (0);
---
>   if (mant_long == 0x8ccccccc)
>     return 0;
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute/ieee: inf-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: loop-13.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/loop-2e.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/loop-2e.c
1,28c1
< #include <limits.h>
< 
< #ifdef __unix__ /* ??? Is that good enough? */
< #include <sys/types.h>
< #include <sys/mman.h>
< #include <sys/stat.h>
< #include <fcntl.h>
< #ifndef MAP_ANON
< #ifdef MAP_ANONYMOUS
< #define MAP_ANON MAP_ANONYMOUS
< #else
< #define MAP_ANON MAP_FILE
< #endif
< #endif
< #ifndef MAP_FILE
< #define MAP_FILE 0
< #endif
< #ifndef MAP_FIXED
< #define MAP_FIXED 0
< #endif
< #endif
< 
< #define MAP_START (void *)0x7fff8000
< #define MAP_LEN 0x10000
< 
< #define OFFSET (MAP_LEN/2 - 2 * sizeof (int));
< 
< f (int *p, int **q)
---
> void f (int *p, int **q)
37c10
< main ()
---
> int main ()
39d11
< #ifdef MAP_ANON
42c14
<   int dev_zero;
---
>   __SIZE_TYPE__ start;
44,59c16,38
<   dev_zero = open ("/dev/zero", O_RDONLY);
<   /* -1 is OK when we have MAP_ANON; else mmap will flag an error.  */
<   if (INT_MAX != 0x7fffffffL || sizeof (char *) != sizeof (int))
<     exit (0);
<   p = mmap (MAP_START, MAP_LEN, PROT_READ|PROT_WRITE,
< 	    MAP_ANON|MAP_FIXED|MAP_PRIVATE, dev_zero, 0);
<   if (p != (void *)-1)
<     {
<       p = (char *)p + OFFSET;
<       q[39] = 0;
<       f (p, q);
<       if (q[39] != (int *)p + 39)
< 	abort ();
<     }
< #endif
<   exit (0);
---
>   /* Find the signed middle of the address space.  */
>   if (sizeof(start) == sizeof(int))
>     start = (__SIZE_TYPE__) __INT_MAX__;
>   else if (sizeof(start) == sizeof(long))
>     start = (__SIZE_TYPE__) __LONG_MAX__;
>   else if (sizeof(start) == sizeof(long long))
>     start = (__SIZE_TYPE__) __LONG_LONG_MAX__;
>   else
>     return 0;
> 
>   /* Arbitrarily align the pointer.  */
>   start &= -32;
> 
>   /* Pretend that's good enough to start address arithmetic.  */
>   p = (void *)start;
> 
>   /* Verify that GIV replacement computes the correct results.  */
>   q[39] = 0;
>   f (p, q);
>   if (q[39] != (int *)p + 39)
>     abort ();
> 
>   return 0;
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/loop-2e.x trunk/gcc/gcc/testsuite/gcc.c-torture/execute/loop-2e.x
9c9
< if { [istarget "i686-*"] } {
---
> if { [istarget "i?86-*"] } {
14c14
< 		    "i686-*" \
---
> 		    "i?86-*" \
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: loop-3c.x
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: mayalias-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: memcpy-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: memset-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: memset-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: pure-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: simd-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: simd-2.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: strcmp-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: strcpy-1.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: strct-stdarg-1.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/strct-varg-1.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/strct-varg-1.c
1d0
< #ifdef NO_VARARGS
3,7d1
< #define va_alist int x_attr, ...
< #define va_dcl
< #else
< #include <varargs.h>
< #endif
11,12c5
< f (va_alist)
<      va_dcl
---
> f (int attr, ...)
16d8
<   int attr;
19,25c11
< #ifdef NO_VARARGS
<   va_start (va, x_attr);
<   attr = x_attr;
< #else
<   va_start (va);
<   attr = va_arg (va, int);
< #endif
---
>   va_start (va, attr);
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: string-opt-17.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
234c234
< static char *
---
> static int
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: strlen-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: strncmp-1.c
Only in trunk/gcc/gcc/testsuite/gcc.c-torture/execute: struct-cpy-1.c
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-15.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-15.c
1c1
< #include <varargs.h>
---
> #include <stdarg.h>
3,5c3
< void vafunction (dummy, va_alist)
<   char *dummy;
<   va_dcl
---
> void vafunction (char *dummy, ...)
13c11
<   va_start(ap);
---
>   va_start(ap, dummy);
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: va-arg-15.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-16.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-16.c
1c1
< #include <varargs.h>
---
> #include <stdarg.h>
5,7c5
< void vafunction (dummy1, dummy2, va_alist)
<   TYPE dummy1, dummy2;
<   va_dcl
---
> void vafunction (TYPE dummy1, TYPE dummy2, ...)
11c9
<   va_start(ap);
---
>   va_start(ap, dummy2);
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: va-arg-16.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-17.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-17.c
1c1
< #include <varargs.h>
---
> #include <stdarg.h>
5,7c5
< void vafunction (dummy, va_alist)
<   char *dummy;
<   va_dcl
---
> void vafunction (char *dummy, ...)
11c9
<   va_start(ap);
---
>   va_start(ap, dummy);
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: va-arg-17.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-19.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-19.c
1c1
< #include <varargs.h>
---
> #include <stdarg.h>
5,7c5
< void vafunction (dummy, va_alist)
<   char *dummy;
<   va_dcl
---
> void vafunction (char *dummy, ...)
11c9
<   va_start(ap);
---
>   va_start(ap, dummy);
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: va-arg-3.c
Only in 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute: va-arg-3.x
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-7.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-7.c
3c3
< #include <varargs.h>
---
> #include <stdarg.h>
6,9c6,8
< debug(i1, i2, i3, i4, i5, i6, i7, f1, f2, f3, f4, f5, f6, f7, f8, f9, va_alist)
<      int i1, i2, i3, i4, i5, i6, i7;
<      double f1, f2, f3, f4, f5, f6, f7, f8, f9;
<      va_dcl
---
> debug(int i1, int i2, int i3, int i4, int i5, int i6, int i7,
>       double f1, double f2, double f3, double f4, double f5,
>       double f6, double f7, double f8, double f9, ...)
13c12
<   va_start (ap);
---
>   va_start (ap, f9);
28,29c27,29
<   debug (1, 2, 3, 4, 5, 6, 7, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0,
<          8.0, 9.0, 8, 9, 10);
---
>   debug (1, 2, 3, 4, 5, 6, 7,
> 	 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0,
> 	 8, 9, 10);
diff -r 3_2_branch/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-8.c trunk/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-8.c
3c3
< #include <varargs.h>
---
> #include <stdarg.h>
11,13c11,12
< debug(i1, i2, i3, i4, i5, i6, i7, i8, i9, va_alist)
<      int i1, i2, i3, i4, i5, i6, i7, i8, i9;
<      va_dcl
---
> debug(int i1, int i2, int i3, int i4, int i5,
>       int i6, int i7, int i8, int i9, ...)
17c16
<   va_start (ap);
---
>   va_start (ap, i9);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]