(patch) Workaround for gcc's float complex bug.

scott snyder snyder@fnal.gov
Mon Nov 22 15:48:00 GMT 1999


>I'd really prefer that we fix the compiler, rather than add a bunch of
>code to work around bugs.

For an attempt to do so, see the following:

  http://egcs.cygnus.com/ml/gcc-patches/1999-10/msg00824.html
  http://egcs.cygnus.com/ml/gcc-patches/1999-10/msg00825.html
  http://egcs.cygnus.com/ml/gcc-patches/1999-11/msg00084.html


The last two of these changes were to the C++ frontend,
and have been installed by Mark.  The first, however, involved some
backend changes (stor-layout and emit-rtl), and appear to be still pending.

I'm not certain that the way i fixed the problems discussed in the first
message is correct, but it at least lets me compile nontrivial C++
code using the libstdc++-v3 complex<> class without crashing the compiler.

sss


More information about the Libstdc++ mailing list