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++/33515] Inconsistent warning about "defined but not used"



------- Comment #1 from mec at google dot com  2007-09-21 05:58 -------
Created an attachment (id=14236)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14236&action=view)
Test program

compile with: gcc -Wall -S z2.cc

This program does not give a warning about a1 defined-but-not-used.  I believe
this is correct behavior.


-- 


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


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