[Bug c/38136] vim crashes on startup when compiled with -O3 but works with -O2
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 15 23:01:00 GMT 2008
------- Comment #6 from jakub at gcc dot gnu dot org 2008-11-15 22:59 -------
BTW, you are likely using -D_FORTIFY_SOURCE=2 and that, unlike
-D_FORTIFY_SOURCE=1 has some extra restrictions beyond the C standard.
One is that the str*/stp* functions must not cross field boundary in
structures.
mem* functions don't have this restriction and can flow through from one field
into another, of course can't cross object boundaries though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38136
More information about the Gcc-bugs
mailing list