🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #503

no subject (file transmission)

#503
From: Charles Fiterman, Froggy
Date: Fri, 16 Oct 1992 17:58
34 lines
2225 bytes
From cef
Subject: Trying to port to ESIX V.4
To: help-gcc@blistr.mwc.com
From: Charles (Froggy) Fiterman <cef@blistr.mwc.com>
X-Mailer: ELM [version 2.3 PL11]
Message-Id: <9210161049.AA01119@blistr.mwc.com>
Date: 16 Oct 92 10:49:14 

I want to port to ESIX V4 to do some code generation experiments. I run into
a series of problems and feel lost. What setup is  correct? The version I
have builds great .s output calls the as fine and core dumps. The .o files
can be used to produce good output.

Also what is really going on with bcopy() etc. When do we build it and when
do we use memcpy() cccp.c seems to want to use these but not build them. I
suspect I've got something #defined wrong.

By the way one of the code generation experiments I want to try is a new
keyword nodefault: for switch statements. It means if not compiled for
optomize and a default: occurs abort(). If compiled for optomize assume that
no default may occur and jump the rails if the programmer is wrong. I think
this will make C more usefull for simulators etc by reducing the overhead of
switch statements. In short it means "trust me" it must be one of the cases
don't check. If there are cases for 0, 4, 8, and 12 the expression may be
added to the start of a table with no compares or shifting, and a branch
taken if the programmer said "trust me" and was wrong tough. This may also
reduce some extrainious warnings about uninitialized variables.

I hope to have something usefull to add to gcc soon.
-- 
cef@mwc.com        Mark Williams Co       Philosophy is the art of
708-291-6700 x119  60 Revere Drive        misunderstanding terms in a
708-291-6750 FAX   Northbrook, Il 60062   specialized language, designed
Charles (Froggy) Fiterman		  for that purpose.
Technical Details
Message-ID: <9210161358.AA00303@blistr.mwc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!blistr.mwc.COM!cef

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!blistr.mwc.COM!cef
From: cef@blistr.mwc.COM (Charles  Fiterman, Froggy)
Newsgroups: gnu.gcc.help
Subject: no subject (file transmission)
Message-ID: <9210161358.AA00303@blistr.mwc.com>
Date: 16 Oct 92 17:58:33 GMT
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 34