This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Coredump
- To: "Gcchelp" <gcc-help at gcc dot gnu dot org>
- Subject: Coredump
- From: "Puneet Singhal" <puneet at opussoft dot com>
- Date: Wed, 13 Dec 2000 16:40:08 -0800
Hi
I am compiling and linking the foll code with gcc-2.95.2 on Solaris 7 on
sparc.
int main()
{
char *p=NULL;
printf("%s", p);
return 0;
}
I get a coredump at runtime. Please help..
I tried using the flag -fno-delete-null-pointer-checks for optimization but
gcc does not recognize this flag and gives an error.
Please Help!!
thanx
Puneet