From 6e7eced5fdae3ec6831be7e15d892ca3d23bdd0c Mon Sep 17 00:00:00 2001 From: dsainty Date: Mon, 16 Aug 2004 13:10:24 +0000 Subject: Document emulators/palmosemulator/patches/patch-an, a i386 g++ 3.3.x -O2 bug --- doc/HACKS | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc/HACKS') diff --git a/doc/HACKS b/doc/HACKS index 8f87e54868b..4ab07187d10 100644 --- a/doc/HACKS +++ b/doc/HACKS @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.26 2004/07/10 13:23:55 grant Exp $ +# $NetBSD: HACKS,v 1.27 2004/08/16 13:10:24 dsainty Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -433,3 +433,15 @@ descr sparc64 gcc 3.3.x toolchain bug means we must compile exif.o without optimisation kcah + +hack i386 g++ 3.3.x -O2 bug +cdate Tue Aug 17 00:59:31 NZST 2004 +who dsainty +port i386 +file emulators/palmosemulator/patches/patch-an +descr + EmPoint.cpp malfunctions with optimisation on, trashing point + coordinates. Apparently an aliasing issue with automatic variables on + the stack and some fairly dodgy type casting. The patch file contains + more details. +kcah -- cgit v1.2.3