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 c/36390] Unused variable warning should be more useful



------- Comment #1 from eugene dot zelenko at gmail dot com  2008-08-14 23:32 -------
I think unused variable warning should be expanded for all cases where variable
used only as lvalue. As result some useless computations could be avoided.

Coverity Prevent warn about such situations with one of its checkers. But
Coverity is too huge and slow tool, so GCC could definitely be better for such
diagnostics.


-- 

eugene dot zelenko at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eugene dot zelenko at gmail
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36390


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