Article View: gnu.g++.bug
Article #286(none)
From: Mike Bolotski
Date: Mon, 17 Jul 1989 21:51
Date: Mon, 17 Jul 1989 21:51
13 lines
804 bytes
804 bytes
As a followup to the previous bug report, a similar confusion happens
(on the 68020) when the compiler uses address registers to store 'short'
values. Although the variables being compared are 'short', the
compiler does a compare long:
short facsize = f->Card();
if (q->in.Card() == facsize) {
movew a2@(4),a0 # get q
movew a6@(-52),a1 # get q->in.card
cmpl a0,a1 # what?????
Technical Details
Message-ID:
<216*mikeb@ee.ubc.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ee.ubc.ca!mikebShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ee.ubc.ca!mikeb From: mikeb@ee.ubc.ca (Mike Bolotski) Newsgroups: gnu.g++.bug Subject: (none) Message-ID: <216*mikeb@ee.ubc.ca> Date: 17 Jul 89 21:51:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 13