From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-19 06:34:52 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!s68.tc237.coslink.NET!not-for-mail From: iddw@hotmail.com (Dave Hansen) Newsgroups: comp.sys.dec,comp.arch Subject: Re: using memory beyond the "top" of stack (was: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha)) Date: Thu, 19 Jul 2001 13:37:48 GMT Message-ID: <3b56e0ad.662709412@News.CIS.DFN.DE> References: <994616870.688233@haldjas.folklore.ee> <9iuka3$rku$1@mach.thp.univie.ac.at> <9j0jts$r2u$1@sword.avalon.net> <1bn163xzf0.fsf@cs.nmsu.edu> <9j5fd2$bgu$1@sword.avalon.net> <1br8vdbokt.fsf@cs.nmsu.edu> NNTP-Posting-Host: s68.tc237.coslink.net (64.68.237.68) X-Trace: fu-berlin.de 995549690 23781640 64.68.237.68 (16 [97677]) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.sys.dec:6007 comp.arch:14317 On 18 Jul 2001 21:11:14 -0600, Joe Pfeiffer wrote: [...] >``int'' isn't longest integral type, ``long int'' is (long long int >never made it into ANSI, did it? If it did, I'll stand corrected). You stand corrected. In C99, "long long" is guaranteed to be a 64-bit type. The new longest int is intmax_t. >``int'' is the most natural integral type (or words to that effect). "A ��plain�� int object has the natural size suggested by the architecture of the execution environment..." but is at least 16 bits wide (i.e., can represent values in the range +/-32767). >While discussing traps I've fallen into, another good one was an Amiga >C compiler that used a 16 bit int... perfectly valid, but not what >this overly-trusting programmer was expecting at all. Sixteen bit int is (as you say) perfectly valid, and *very* common. All real-mode x86 compilers I know of use it. Most compilers targeting 8-bit micros use it as well. Those that don't use 8-bit int, which is a total abomination. But I digress... Regards, -=Dave -- Change is inevitable, progress is not.