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 middle-end/34212] spurious warning: value computed is not used



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


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