This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Using the tree.


> We expect that you'll do some digging.
    I did. The answer was incredibly obvious (but only AFTER I found it). I
could get all the information I needed in rest_of_decl_compilation, in
toplev.c. And it was quite simple to get it, too. The ironic thing is that I
knew about the existence of rest_of_decl_compilation, but I never thought to
look at it until I tried to track down how the debugging information is
generated (that's what put me on the right track).

> pop_binding_level. ...  You get the idea.  All these are simple
> answers and aren't necessarily complete or accurate, but they should
> get you looking at the right code and on the right track.
    They didn't - they actually put me on the wrong track. I lost a LOT of
time doing this.

> If you play around a bit before asking them, we
> hope that you will be able to answer your own questions before we have
> to.  If you fail to do this, some that could answer may just ignore
> all your questions.

     I know you are all extremely busy and I tried not to bother you with
every problem I had. I asked this question because I got very near a
deadline and I had no more time to do all the digging - I imagined it was I
simple question and that I will get the answer right away (which I didn't,
but i DID get a suggestion that put me on the right track).
     Anyway, I don't agree with what you said. If you people stop answering
the simple questions, the chances of having new people become familiar with
the gcc source code will diminish dramatically. With your help I was able to
understand gcc, and  - as opposed to 4 months earlier, when I thought
somebody(i.e. I) is unlikely to be able to improve gcc any furher - now I
KNOW gcc CAN be improved. A lot. And most importantly, because you answered
my (in fact, our) simple questions, we were able to produce some concrete
results and I hope we will be suppported (starting from this autumn) to
start some REAL work on gcc. If this shall prove to be true, you may all
benefit from our work here - so you see, answering simple questions may be
important, too.

    Thanks again for taking the time to answer our questions.

         Virgil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]