🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52926

memory mode

#52926
From: dong
Date: Tue, 21 Apr 1992 14:17
30 lines
1266 bytes
I am trying to update my compiler from 1.4 to 2.1,  can you help me
with the following questions :

1)  how do I tell gcc not to generate call ___main  in main() ?

2)  it compiles 
		int x = 1;
    to 
	(insn 8 7 10 (set (mem:QI (plus:SI (reg:SI 9)
               		(const_int -1)))
       		(const_int 1)) -1 (nil)
   	(nil))

    Why memory has QImode ?  what did I do wrong ?   the related macros
    are defined as following (they worked in version 1.4)

#define BITS_PER_UNIT 32
#define BITS_PER_WORD 32
#define UNITS_PER_WORD 1

#define INT_TYPE_SIZE 		32
#define SHORT_TYPE_SIZE 	INT_TYPE_SIZE
#define LONG_LONG_TYPE_SIZE 	INT_TYPE_SIZE
#define CHAR_TYPE_SIZE 		INT_TYPE_SIZE


Thanks

Dong
Technical Details
Message-ID: <9204220417.AA26906@vlsi.cs.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vlsi.cs.caltech.edu!dong

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e0596f3cf4ba365,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-04-21 07:17:27 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vlsi.cs.caltech.edu!dong
From: dong@vlsi.cs.caltech.edu
Subject: memory mode
Message-ID: <9204220417.AA26906@vlsi.cs.caltech.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 21 Apr 1992 14:17:27 GMT
Lines: 30