This is the mail archive of the gcc-patches@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: Catch emit_library_call being called with a NULL parameter


Nick> I am a big believer in paranoid programming and I like code that
Nick> checks all of its assumptions and all of its inputs.  That is
Nick> while I like aborts and asserts.

Me too.  I've noticed that gcc doesn't seem to use assert() but
instead uses `if ... abort()'.  Is there a particular reason for this?

Tom

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