Re: front-end that translate C++ to C

2005-07-25 Thread Vladimir A. Merzliakov

LLVM ( http://llvm.cs.uiuc.edu/ ) ?

It use modified gcc 3.4 as C/C++ frontend and it can emits portable C 
code.

Depends what you mean by portable.
You can't take the output of the gcc llvm frontend on one platform, and
run it on another, like cfront could.
"emits portable C code" just copied from "LLVM Overview" at 
http://llvm.cs.uiuc.edu/ :)


Vladimir 



Re: front-end that translate C++ to C

2005-07-25 Thread Vladimir A. Merzliakov

Hi all,

Are there any open-source(or free) front-end which translates C++ to C?
I could find some commercial things - Comeau, AT&T Cfront, etc., but
these have many limitations(especially, It's too difficult to get cfront
because there are few cfront-based compiler at present)
LLVM ( http://llvm.cs.uiuc.edu/ ) ? 


It use modified gcc 3.4 as C/C++ frontend and it can emits portable C code.

Vladimir



Re: ext/stdio_sync_filebuf/wchar_t/12077.cc

2005-04-30 Thread Vladimir A. Merzliakov
it looks like in mainline this test recently started failing at compile 
time on  some machines. I'm puzzled, unfortunately cannot reproduce the 
problem and would be grateful is someone could send me (either privately 
or in public) more information (e.g., an extract from libstdc++.log, at 
least).
At FreeBSD 5.3 this testcase failed with gcc version 4.1.0 20050429 
(extracted log attached)

Vladimir


12077.log
Description: Binary data