This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Bootstrap fails with undefined reference to find_reachable_lable
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: Andreas Jaeger <aj at suse dot de>,law at redhat dot com,gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 Apr 2003 01:51:13 -0400
- Subject: Re: [tree-ssa] Bootstrap fails with undefined reference to find_reachable_lable
- Duplicate a whole lot of code that's in c-*, and manage the fractal
interface of that code into the back end. I did try that by the way,
and it was a lot of work and very painful.
- The current solution. Reuse some c-* code. This is not ideal but it
involves far fewer patches.I you have a look at the changelog there is
not a huge lot of this. Personally I think that this is not a big
problem, it is just that the idea of it does not appeal.
- 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.