create new tag
view all tags

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 - 2008-01-16 - ChenDing
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback