Module Name:    src
Committed By:   christos
Date:           Sat Nov  9 16:05:39 UTC 2013

Modified Files:
        src/doc: HACKS

Log Message:
document fsdb bug


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.139 src/doc/HACKS:1.140
--- src/doc/HACKS:1.139	Fri Nov  8 19:35:00 2013
+++ src/doc/HACKS	Sat Nov  9 11:05:39 2013
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.139 2013/11/09 00:35:00 christos Exp $
+# $NetBSD: HACKS,v 1.140 2013/11/09 16:05:39 christos Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -517,6 +517,22 @@ port	vax
 		Many filesystem on-disk formats have 32 bit times.
 	kcah
 
+	hack	gcc >= 4.5 fsdb miscompile
+	date	Sat Nov  9 11:03:02 EST 2013
+	who	christos
+	file	src/sbin/fsdb/Makefile : 1.35 (and earlier)
+	descr
+		src/sbin/fsdb/fsdb.c: In function 'findblk':
+		src/sbin/fsdb/fsdb.c:610:1: error: unrecognizable insn:
+		(insn 941 940 942 134 src/sbin/fsdb/fsdb.c:589 (set (reg:SI 604)
+		    (subreg:SI (mem/s/j:DI (plus:SI (mult:SI (reg:SI 602)
+                        (const_int 8 [0x8]))
+                    (reg/f:SI 601)) [0 curinode.99_378->dp2.di_ib S8 A32]) 4)) \
+			-1 (nil))
+		src/sbin/fsdb/fsdb.c:610:1: internal compiler error: in \
+		extract_insn, at recog.c:2103
+	kcah
+
 port	arm
 
 	hack	gcc-unsigned-compare

Reply via email to