[Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 10 15:56:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list