25a442dca2
This compiler package is not like the lang/gcc4* packages, but rather the lang/gcc-aux package which exists to bring GNAT, the Ada language compiler. The lang/gcc-aux package is based on gcc-4.9, and this package is based on gcc-5. This is the first gcc5 package in pkgsrc, and it does support C, C++, ObjC, and Fortran in addition to Ada thus it is very useful, but it does have a different purpose than other gcc ports. This port has had minimal testing. I verified GNAT passes 100% of the testsuite on NetBSD 6.1/amd64, but it has not been tested on any NetBSD 5, 7.0 or 7.99 platform yet. I don't have any hardware, so it will require using a VM or having others report failure/success. Due to similarity with lang/gcc-aux, chances are good that it will build and function properly on other platforms. See http://gcc.gnu.org/gcc-5/changes.html for more information about improvements over the gcc-4.9 series.
46 lines
1.6 KiB
Text
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 } {
|