This is the mail archive of the gcc@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]

egcs, c++ problem ?


Hi there,

        I have some question about building egcs (all release and snapshots),
    if I use CFLAGS or CXXFLAGS with an optimization it'll fail in c++ test.
    libio is pass but in libstdc++ testsuite, it'll always fail.

    FAIL: tcomplex.cc -O execution

                    === libstdc++ Summary ===

# of expected passes            28
# of unexpected failures        1
# of expected failures          1

        This failure make "make check" abort, so I go to gcc directory and
    "make check" again, all gcc is pass but many unexpected failures in g++.

        But if I build it with -O0, everything is ok, all testsuite is pass.
    that's I wonder to know, why?

Thanks,
psa

--
glibc-2.0.7-7
gcc-2.7.2.3
binutils-2.9.1.0.4
dejagnu-971222

+---------------------------------------------------------------------------+
| ._  ._  _.  _  _  ._   _       _. ._  _   _  ._  ._        o       _. _|_ |
| |_) |  (_| _> (_) | | (_|     (_| |  (_) (_) | | |  |_| \/ | \/\/ (_|  |_ |
| |                      _|                                                 |
+---------------------------------------------------------------------------+
I talk to God but the sky is empty...
                                                              Sylvia Plath...



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