🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #670

GNU C++ 1.36.2- on m68k

#670
From: Michael Tiemann
Date: Sun, 03 Dec 1989 00:14
27 lines
1056 bytes
I wrote a bug involving alignment.  It did not show up on Sun4, but
did on Sun3.  Here is the fix:

    arkesden% diff -c2 cplus-tree.h~ cplus-tree.h
    *** cplus-tree.h~	Tue Nov 28 23:13:49 1989
    --- cplus-tree.h	Sat Dec  2 14:59:54 1989
    ***************
    *** 302,307 ****
	  } type_flags;

	int cid;
    -   int n_parents;
	int n_ancestors;
	int n_vancestors;
    --- 302,307 ----
	  } type_flags;

    +   unsigned n_parents : 16;
	int cid;
	int n_ancestors;
	int n_vancestors;
    arkesden% 

You need this if the macro TYPE_WRAP_TYPE appears in your version of
cplus-tree.h

Michael
Technical Details
Message-ID: <8912030014.AA13783@arkesden.sun.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!arkesden.eng.sun.com!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!arkesden.eng.sun.com!tiemann
From: tiemann@arkesden.eng.sun.com (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: GNU C++ 1.36.2- on m68k
Message-ID: <8912030014.AA13783@arkesden.sun.com>
Date: 3 Dec 89 00:14:58 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@sun.com
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 27