------- 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