Possible miscompilation of vim-6.0 with gcc 3.0.1
Groege Garvey
tmwg-gcc@inxservices.com
Mon Oct 1 12:52:00 GMT 2001
Try removing -fomit-frame-pointer. I'm only a GCC user. But I've
found that gcc 3 miscompiles just about everything on x86 without frame
pointers right now.
On Mon, Oct 01, 2001 at 12:42:13PM -0600, Lawrence Gold wrote:
> 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