This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug middle-end/23497] [4.1 regression] Bogus 'is used uninitialized...' warning about std::complex<T>



------- 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


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