How to turn off adress 0 on AIX?

yang zhenyu zhyuyang@gmail.com
Wed Dec 12 12:25:00 GMT 2007


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



More information about the Gcc-help mailing list