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 bangerth at dealii dot org  2004-09-10 15:56 -------
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. 
 
I wouldn't rate this as a regression: we give a sensible error message, 
and this is a follow-up error. It could be rated as error-recovery. If 
it were just me, I would close this PR as WONTFIX, but I leave this 
to others. 
 
W. 

-- 


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]