This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Possible miscompilation of vim-6.0 with gcc 3.0.1
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Possible miscompilation of vim-6.0 with gcc 3.0.1
- From: Lawrence Gold <gold at shell dot aros dot net>
- Date: Mon, 1 Oct 2001 12:42:13 -0600
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.