On Mar 25, 2009, at 6:10 PM, Chris Brannon wrote:
Erik Quanstrom wrote:
On Wed Mar 25 16:39:16 EDT 2009, cmbran...@cox.net wrote:
The Comeau C++ compiler [1] uses the cfront technique, doesn't it? It is
supposed to be very standards-compliant.

[1] http://www.comeaucomputing.com

where do they claim this?  i see a claim that they
accept cfront-isms, but that's a different claim.

Quoting http://comeaucomputing.com/faqs/genfaq.html#ccompiler

"Input C++ code is translated into internal compiler trees and symbol tables
looking nothing like C++ or C. As well,
it generates an internal proprietary intermediate form.
But instead of using a proprietary back end code generator,
Comeau C++ 4.3.3 generates C code as its output."

Isn't that what cfront did, more or less?

Not really, no. In their case, I believe, C language is treated
as an intermediate language. It has no traces of the Cisms
of the original C++ code. It is as mangled as an assembler
would be if you do g++ -S foo.cc.

cfront (well, at least the original one) still preserved most
of the original code (as do most of thing like cyclone, cilk, etc.).

Thanks,
Roman.

Reply via email to