[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
Wed Nov 16 19:58:00 GMT 2005
------- Comment #32 from pinskia at gcc dot gnu dot org 2005-11-16 19:58 -------
(In reply to comment #31)
> This is not a valid argument.
What would you consider a valid argument for an extension which is not that
well documented?
> The point of warnings is not to tell the user how the compiler works;
> it's to tell the user that their code is in some way suspect.
Wait this is an extension to the language.
> Please explain why a user would want a warning on this code.
I should also note that:
http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex
recomends against using the extensions anyways.
I should note that page does not talk about __imag__ b being a lvalue at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23497
More information about the Gcc-bugs
mailing list