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: A simple program with a large array segfaults


On Jan 4, 2007, at 8:49 AM, Gowri Kumar CH wrote:
Is this one of the things which we come to know by experience?

Yes.


Is there a way to find it out from the core/code generated?

No. You'd have to have someone tell you, or read up on a UNIX internals book or find a good C book.


I'm wondering how difficult it would be find this sort of errors in a large program.

You would be able to find this type of problem fairly easily in a large program, now. :-)



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