This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23497] [4.1 regression] Bogus 'is used uninitialized...' warning about std::complex<T>
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 18:58:05 -0000
- Subject: [Bug middle-end/23497] [4.1 regression] Bogus 'is used uninitialized...' warning about std::complex<T>
- References: <bug-23497-2589@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #31 from mark at codesourcery dot com 2005-11-16 18:58 -------
Subject: Re: [4.1 regression] Bogus 'is used uninitialized...'
warning about std::complex<T>
pinskia at gcc dot gnu dot org wrote:
> From the C perspective the warning is correct as you are loading piece wise
> which is not really supported at all, even shown by my integer testcase.
This is not a valid argument.
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.
Please explain why a user would want a warning on this code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23497