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


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