Subject: Re: dump
To: None <,>
From: Juergen Hannken-Illjes <>
List: current-users
Date: 06/23/1999 22:52:04
Due to a codegen bug in egcs-1.2/sparc, /sbin/dump dumps bad sets.
This is reported in PR bin/7735.

You could try to change the following line from sbin/dump/tape.c,
function writerec()

	*(union u_spcl *)(*(nextblock)++) = *(union u_spcl *)dp;

	*(union u_spcl *)(*nextblock) = *(union u_spcl *)dp;
	nextblock += 1;

The problem in short:

	the post-increment is done BEFORE the assignment.

Juergen Hannken-Illjes - - TU Braunschweig (Germany)