To generate gimple-form code from Gcc

gcc -c -fdump-tree-gimple C_FILE

The gimple form is almost a legal C language. There are legal (but not technical) reasons for them not to generate legal C code, according to rumors. The following simple text editing worked on a simple test file I tried (you may easily modify gimple output code to do this):