This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to turn off adress 0 on AIX?
- From: "yang zhenyu" <zhyuyang at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 12 Dec 2007 20:24:56 +0800
- Subject: 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