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):

  • remove all lines starting with ;;
  • replace occurrence of "D." with "D_"
  • remove the "<" and ">" bracketing each label.
Topic revision: r1 - 16 Jan 2008 - 15:27:32 - ChenDing
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback