This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Possible miscompilation of vim-6.0 with gcc 3.0.1


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]