Previous commit actually fixed gcc 4.6 on sparc64; just fix one stupid typo.

Tested on one of weerd@'s machines (thanks).

Also, update TODO.

ok espie@
This commit is contained in:
pascal 2012-04-02 08:51:30 +00:00
parent d21edf0044
commit c263e2ec14
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,6 @@
# $OpenBSD: Makefile,v 1.19 2012/03/31 20:02:03 pascal Exp $
# $OpenBSD: Makefile,v 1.20 2012/04/02 08:51:30 pascal Exp $
ONLY_FOR_ARCHS = amd64 i386 powerpc sparc sparc64
BROKEN-sparc64 = gengtype looping infinitely
V = 4.6.3
FULL_VERSION = $V

View File

@ -1,3 +1,4 @@
Failures:
- alpha (bootstrap comparison)
- gengtype loops on sparc64 with -O2, fine with -O0
- alpha (bootstrap comparison opts.o)
WIP: hppa

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.1 2012/03/31 20:02:03 pascal Exp $
--- gcc/config/sparc/openbsd64.h.orig Sun Mar 11 19:27:37 2012
+++ gcc/config/sparc/openbsd64.h Sun Mar 11 19:55:59 2012
$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.2 2012/04/02 08:51:30 pascal Exp $
--- gcc/config/sparc/openbsd64.h.orig Thu Dec 9 17:31:47 2010
+++ gcc/config/sparc/openbsd64.h Sun Apr 1 17:09:13 2012
@@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see
/* XXX - do we really want HARD_QUAD? */
#undef TARGET_DEFAULT
@ -18,7 +18,7 @@ $OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.1 2012/03/31 20:02:03 pascal Ex
- builtin_define ("__OpenBSD__"); \
- builtin_assert ("system=unix"); \
- builtin_assert ("system=OpenBSD"); \
+ OPENBSD_OS_CPP_BUILTINS();
+ OPENBSD_OS_CPP_BUILTINS(); \
builtin_define ("__sparc64__"); \
builtin_define ("__sparcv9__"); \
builtin_define ("__sparc_v9__"); \