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]
Other format: [Raw text]

Re: Designs for better debug info in GCC


"Richard Guenther" <richard.guenther@gmail.com> writes:

> [...]  I chose to ignore this problem and say we debug the optimized
> program, not the source as far as life ranges are concerned. [...]

Yes, and this choice has a certain pragmatism.  However, it seems to
miss the basic observation that what drives debugging are the
programmer-user's needs, not the compiler-writer's needs.  A
programmer-user is primarily interested in his source, and I bet most
would prefer not to think about optimization artifacts at all.  It
would be a disservice to amplify the visibility of the latter.

- FChE


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