This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38616] [4.3 only] Wrong code when -O3 or -O2 -fstack-protector used
- From: "socketpair at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2008 15:21:55 -0000
- Subject: [Bug middle-end/38616] [4.3 only] Wrong code when -O3 or -O2 -fstack-protector used
- References: <bug-38616-17114@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from socketpair at gmail dot com 2008-12-24 15:21 -------
-fno-stack-protector really helps.
i don't understand why "rep stosl" appear in the middle of string
initialization..
gdb said that "rep stosl" is a cause of zero byte after first 8 symbols.
also, if this bug does not appear in 4.4.0, i want to see decription of
corrected bug (maybe dup of mine)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38616