This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38274] why the option "-fstack-protector-all" doesn't works?
- From: "zuogang at huawei dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2008 10:13:12 -0000
- Subject: [Bug middle-end/38274] why the option "-fstack-protector-all" doesn't works?
- References: <bug-38274-16970@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from zuogang at huawei dot com 2008-12-01 10:13 -------
(In reply to comment #1)
> Works for me with the trunk on i386-darwin8.11:
> [236:~] apinski% ~/local-gcc/bin/gcc t.c -fstack-protector-all
> [236:~] apinski% ./a.out
> ?,a:-1,b2
> *** stack smashing detected ***: terminated
> Illegal instruction
what 's the version of the gcc src code you tried?
can you try the gcc version 4.1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38274