[Bug middle-end/34212] spurious warning: value computed is not used
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 13 05:28:00 GMT 2008
------- Comment #10 from pinskia at gcc dot gnu dot org 2008-03-13 05:27 -------
+FAIL: g++.dg/warn/Wunused-9.C (test for warnings, line 32)
+f(); // { dg-warning "not used" }
+FAIL: g++.dg/warn/noeffect4.C (test for warnings, line 80)
const_cast<X &> (x.Foo ()); // { dg-warning "not used" }
I think the second one should not be warned about, but the first one I don't
know about. I am going to unassign this from me because of these regressions.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34212
More information about the Gcc-bugs
mailing list