Seeking a compiler which converts an assembly language program to a C language program

Mihai Moldovan ionic@ionic.de
Fri Aug 9 19:01:00 GMT 2013


* On 09.08.2013 08:39 PM, sudakshina@cse.iitkgp.ernet.in wrote:
> gcc performs several optimization using optimization flags(-O1, -O2) etc.
> The optimized code should be in assembly language.
> Can we get that optimized version in C language ?

No. Also, not the C code is optimized, but some intermediate, internal
representation of it (cf. SSA).

The transformation is not bidirectional. It's not meant to go back to C code.

I am not aware of such an ASM to C converter within the GNU space, either, sorry.



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4506 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20130809/d8820cd5/attachment-0001.p7s>


More information about the Gcc-help mailing list