This is the mail archive of the gcc-help@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]

How to turn off adress 0 on AIX?


Dear all:

I'm looking for an option on gcc that will allow me to turn off
address 0 on AIX:
i.e. get a memory fault if a null pointer is accessed.
I want to do some run-time detections when a null pointer is accessed.

Does anybody happen to know this option?


Thank you very much,

Best Regards,
Jason


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