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++/44062] (void)var; doesn't prevent 'set but not used' warning



------- Comment #3 from jakub at gcc dot gnu dot org  2010-05-10 16:50 -------
Created an attachment (id=20622)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20622&action=view)
gcc46-pr44062.patch

Actually, I've found 2 issues even in the C FE related to comma expressions
with
LHS or RHS without side-effects.
The C++ FE changes needed for these new testcases are missing though.


-- 


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


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