From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f495c7652c09dd8c X-Google-Attributes: gid103376,public From: Andi Kleen Subject: Re: Does this model work ? Date: 1999/05/16 Message-ID: #1/1 X-Deja-AN: 478475393 Sender: andi@fred.muc.de References: <373e38e2.31311363@news2.ibm.net> <7hhj6q$cjn$1@nnrp1.deja.com> <7hmda1$khp$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii X-Trace: 16 May 1999 16:28:46 +0100, 195.180.232.68 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3 MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-16T00:00:00+00:00 List-Id: Robert Dewar writes: > > For an example of a highly portable C program, consider the > gcc compiler itself. This is one of the portable benchmarks > in the Spec suite, and runs unchanged on all targets with C > compilers that run Spec (which is essentially 100% of all > C compatible targets). [getting off-topic] Although many would argue that GCC is more writen in some kind of Lisp in C, than C @) For example the representation of RTL, the internal code representation, seems to near completely ignore even the weak static typing C mandates (this is shown by the thousands of warnings during a gcc bootstrap). Given that it is surprising that gcc is as portable as it is. I would definitely not see it as an example of a typical C program! All of it is very un-C-ish. -Andi -- This is like TV. I don't like TV.