Possible miscompilation of vim-6.0 with gcc 3.0.1
Lawrence Gold
gold@shell.aros.net
Mon Oct 1 11:42:00 GMT 2001
Hi, I'm running Linux 2.4.10 + ext3 with glibc-2.2.4.
When I build vim-6.0 with gcc 3.0.1 and CFLAGS is set to
-O2 -march=athlon -fomit-frame-pointer -fstrict-aliasing
-finline-limit=5000
vim segfaults if I edit a file and hit 'a' to insert text after the
cursor. If I either reduce the optimization to -O or remove
-fomit-frame-pointer, this particular segfault doesn't occur.
Having CFLAGS set to just
-O2 -fomit-frame-pointer
also causes vim to segfault the same way.
Please let me know if you'd like more information, such as a backtrace.
More information about the Gcc-bugs
mailing list