Hi all,

As a part of my gsoc project. I have completed the following tasks:

* Parsed gimple-expression
* Parsed gimple-labels
* Parsed local declaration
* Parsed gimple-goto statement
* Parsed gimple-if-else statement
* Parsed gimple-switch statement
* Parsed gimple-return statement
* Parsed gimple-PHI function
* Parsed gimple ssa-names along with default def
* Parsed gimple-call

* Hacked pass manager to add support for startwith (pass-name) to skip
early opt passes
* Modified gimple dump for making it parsable

I am willing to continue work on the project, some TODOs for the projects are:

* Error handling
* Parse more gimple syntax
* Add startwith support for IPA passes

The complete code of gimple fe project can be found at
https://github.com/PrasadG193/gcc_gimple_fe


PFA patch for complete project (rebased for latest trunk revision).
I have successfully bootstrapped and tested on x86_64-pc-linux-gnu.
Some testcases failed due to modified gimple dump as expected.


Thanks,
Prasad

Attachment: ChangeLog.patch
Description: Binary data

Attachment: gimplefe.patch
Description: Binary data

Attachment: testcases.patch
Description: Binary data

Reply via email to