- Restructure the c-* code and the back end to make a clean interface
Which is what GIMPLE effectively does (give you a clean interface from frontend to middle/backend), and since we are talking about the tree-ssa branch, you have GIMPLE.
You can simply generate GIMPLE trees directly from treelang, and be done with it.
If it doesn't work when you do this, something is broken, right Diego?
The G95 guys are using GIMPLE for their interface, too, aren't they?
Option 3 is the *right thing* but it is a huge job, particularly without having a mindset change about GCC being a C compiler. I am also of the view that any attempt by me to do this would not succeed and I have other priorities.
Apparently you haven't been following tree-ssa.