[BUG] GCC 3.4.3/x86: -fomit-frame-pointer cause a lot of test failures for libstdc++

Denis Zaitsev <[email protected]>
Newsgroups gmane.comp.gcc.devel,gmane.linux.gcc
Message-ID <[email protected]>
I've built GCC with -fomit-frame-pointer and -fno-omit-frame-pointer.
I mean either of these flags is present in both the exported shell
variables CFLAGS and CXXFLAGS and also in the BOOT_CFLAGS variable
from gcc/Makefile.  Both the builds was successfull.  And these are
some results of 'make check':


-fno-omit-frame-pointer:

                === libstdc++ Summary ===

# of expected passes            2720
# of unexpected failures        1
# of unexpected successes       1
# of expected failures          6


-fomit-frame-pointer:

                === libstdc++ Summary ===

# of expected passes            2364
# of unexpected failures        357
# of expected failures          7


So, the difference seems to be just huge.  Does it mean some serious
problems GCC has in the hard-fp-less area for x86?  (BTW, it
traditionally has some...)  The tests results for gcc and g++ are
different too, but that differencies are just miserable compared with
those listed.

Other details about the build and check environment:

CFLAGS, CXXFLAGS, BOOT_CFLAGS:

        -pipe
        -O3
        -fno-strength-reduce
        -fno-inline-functions
        -fno-align-functions
        -fno-align-loops
        -fno-align-jumps
        -fno-ident
        -f[no]omit-frame-pointer
        -D__USE_STRING_INLINES
        -mpreferred-stack-boundary=2

configure's args:

        --enable-shared
        --enable-static
        --disable-debug
        --disable-profile
        --disable-nls
        --disable-libtool-lock
        --disable-rpath
        --disable-largefile
        --with-gnu-as
        --with-gnu-ld
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-languages=c,c++,objc
        --enable-version-specific-runtime-libs
        --enable-clocale
        --enable-objc-gc
        --disable-checking
        --with-gc=simple
        --with-system-zlib
        --with-tune=pentium
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.