Hi Jan,
Hello,
I was recently bitten by gcc's handling of complex multiplication. My program
is in C++, but since std::complex<T> uses C99's complex types, my questions
below apply to C as well.
I only want to say more explicitely that apparently both C and C++ are
affected, and in *inconsistent* ways wrt optimization. In other terms,
it looks like the front-ends are also involved: e.g., compare the
original testcase in libstdc++/28408 vs the C version I added in Comment #7.
Paolo.
- Re: complex arithmetic in gcc (and various standards) Paolo Carlini
-