[Bug middle-end/23497] [4.1 regression] Bogus 'is used uninitialized...' warning about std::complex<T>
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 15 16:47:00 GMT 2005
------- Comment #12 from pinskia at gcc dot gnu dot org 2005-11-15 16:47 -------
(In reply to comment #9)
> Certainly, the test-case in Comment #1 does depend on libstdc++ at all.
> Let's fix this.
The testcase in comment #1 shows the issue with what libstdc++ is doing. Since
complex is scalers they cannot be (with defined behavior) constructed by parts.
So the testcase in comment #1 is in fact invalid with respect of the warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23497
More information about the Gcc-bugs
mailing list