pkgsrc/lang/gcc-aux/files/diff-gcc-testsuite
marino a4768e28c3 lang/gcc-aux: Change base of gcc 4.7.3 to gcc 4.9.0
It appears that gcc-aux is the first gcc 4.9.0 in pkgsrc.  It's purpose
is to build the Ada packages in pkgsrc, but it also supports C, C++,
Objective-C, and Fortran languages by default.  GCC 4.9 was released on
22 April 2014.

Of note, GCC 4.9 fully supports the new Ada-2012 standard.  The rest of
the changes since GCC 4.8.2 are too numerous to mention, but a decent
summary can be found here: http://gcc.gnu.org/gcc-4.9/changes.html

FreeBSD support was added, but SunOS support was temporarily disabled.
This is due to all new bootstraps being provided, but the SunOS
bootstrap is not yet ready.  Currently supported platforms are

 * NetBSD    i386 and x86-64
 * DragonFly i386 and x86-64
 * FreeBSD   i386 and x86-64

All platform fully pass the Ada testsuite:

 * http://www.dragonlace.net/gnataux/netbsd32/
 * http://www.dragonlace.net/gnataux/netbsd64/
 * http://www.dragonlace.net/gnataux/dragonfly32/
 * http://www.dragonlace.net/gnataux/dragonfly64/
 * http://www.dragonlace.net/gnataux/freebsd32/
 * http://www.dragonlace.net/gnataux/freebsd64/
2014-04-30 16:24:39 +00:00

46 lines
1.6 KiB
Text

--- gcc/testsuite/gcc.dg/format/ext-1.c.orig
+++ gcc/testsuite/gcc.dg/format/ext-1.c
@@ -8,7 +8,7 @@
#include "format.h"
void
-foo (quad_t q, u_quad_t uq, quad_t *qn, size_t z, size_t *zn, long long int ll,
+foo (quad2_t q, u_quad2_t uq, quad2_t *qn, size_t z, size_t *zn, long long int ll,
unsigned long long int ull, int i, unsigned int u, double d,
char *s, void *p, wchar_t *ls, wint_t lc, int *n, long int l)
{
--- gcc/testsuite/gcc.dg/format/ext-2.c.orig
+++ gcc/testsuite/gcc.dg/format/ext-2.c
@@ -8,7 +8,7 @@
#include "format.h"
void
-foo (quad_t *qp, u_quad_t *uqp, quad_t *qn, long long int *llp,
+foo (quad2_t *qp, u_quad2_t *uqp, quad2_t *qn, long long int *llp,
unsigned long long int *ullp, float *fp, char *s, void **pp, wchar_t *ls,
int *ip, unsigned int *up)
{
--- gcc/testsuite/gcc.dg/format/format.h.orig
+++ gcc/testsuite/gcc.dg/format/format.h
@@ -71,8 +71,8 @@
#endif
/* %q formats want a "quad"; GCC considers this to be a long long. */
-typedef llong quad_t;
-typedef ullong u_quad_t;
+typedef llong quad2_t;
+typedef ullong u_quad2_t;
__extension__ typedef __INTMAX_TYPE__ intmax_t;
__extension__ typedef __UINTMAX_TYPE__ uintmax_t;
--- gcc/testsuite/gcc.dg/pch/pch.exp.orig
+++ gcc/testsuite/gcc.dg/pch/pch.exp
@@ -44,6 +44,8 @@
set test "largefile.c"
set testh "largefile.hs"
set f [open $test w]
+puts $f "/* { dg-do run { target *-*-solaris* } } */"
+puts $f "/* { dg-error \"dummy\" \"fool dejagnu\" { target { ! *-*-solaris* } 20 } } */"
puts $f "/* { dg-timeout-factor 4.0 } */"
set v 0
for { set v 0 } { $v < 10000 } { incr v } {