🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #26

gcc-2.2.2 has problems with asm register allocation (i386).

#26
From: David Kastrup
Date: Sat, 31 Oct 1992 17:13
7 lines
690 bytes
gcc-2.2.2 will not get the following right. Instead it gets fatal
signal 6. It should use %eax for one operand, %edx for the other.

main() {
	int i,j;
	asm("" : "=ad" (i), "=ad" (j));
}
Technical Details
Message-ID: <9210311513.AA29321@messua>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pool.INformatik.rwth-aachen.DE!dak

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pool.INformatik.rwth-aachen.DE!dak
From: dak@pool.INformatik.rwth-aachen.DE (David Kastrup)
Subject: gcc-2.2.2 has problems with asm register allocation (i386).
Message-ID: <9210311513.AA29321@messua>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 31 Oct 1992 17:13:04 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 8