Related articles |
---|
Compiling to C (where C is used as misspelled assembly) bear@sonic.net (Ray Dillinger) (1997-05-14) |
Re: Compiling to C (where C is used as misspelled assembly) fabre@gr.osf.org (Christian Fabre) (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) fjh@mundook.cs.mu.OZ.AU (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) chase@world.std.com (David Chase) (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) darius@phidani.be (Darius Blasband) (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) hbaker@netcom.com (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) ramb@spring.epic.com (Ram Bhamidipaty) (1997-05-16) |
Re: Compiling to C (where C is used as misspelled assembly) dwight@pentasoft.com (Dwight VandenBerghe) (1997-05-16) |
[10 later articles] |
From: | Christian Fabre <fabre@gr.osf.org> |
Newsgroups: | comp.lang.scheme,comp.compilers |
Date: | 16 May 1997 00:49:38 -0400 |
Organization: | The Open Group Research Institute (was OSF-RI) |
References: | 97-05-183 |
Keywords: | C, translator |
Ray Dillinger wrote:
[To use C as an Intermediate language]
> However, this will violate every "reasonable" assumption a maker of C
> compiers will have about programming style. It will mean a program is
> compiled into a *single routine* of C code, with Goto destinations
> that might be more than 64K bytes away -- and no templates, no library
> functions linked, no header files, etc etc....
>
> Will modern C systems handle this?
> [Probably not. Machine generated source code always seems to break
> compilers designed for code written by humans. -John]
Especially forget about turning -O on. We are generating C code for
Unixes. The code uses only gotos and some of them break on what I'd
call a medium sized function that is 250 variables, 11.000 lines and
340 kb.
However the same compiler seems to digest it when the optimisations
are turned off.
Ch.
=====
Christian Fabre (TOG-RI was OSF-RI)
The Open Group Research Institute Net: c.fabre@opengroup.org
2 avenue de Vignate Tel: +33 4 76.63.48.90
38610 Gieres - France Fax: +33 4 76.51.05.32
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.