[Bug middle-end/38274] why the option "-fstack-protector-all" doesn't works?

zuogang at huawei dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 1 10:14:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list