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++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall


------- Additional Comments From gdr at integrable-solutions dot net  2004-09-10 16:27 -------
Subject: Re:  [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| That's related to the new parser. The problem with the warning is 
| that gcc tries to make some sense out of your wrong code and 
| introduces an unnamed variable for something it tried on the broken 
| declaration, and this unnamed variable is later found to be unused. 

Your analyzis is absolutly right.  However, that is a regression in
the quality of diagnostic we used to give.

-- Gaby


-- 


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


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