------- Comment #1 from rguenth at gcc dot gnu dot org 2006-01-25 10:44 ------- Confirmed. I wouldn't say the cast is an extra computation here - and we don't warn without it.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i486-slackware-linux | GCC target triplet|i686-pc-linux-gnu | Keywords| |diagnostic Known to fail| |4.1.0 4.2.0 Known to work| |4.0.2 Last reconfirmed|0000-00-00 00:00:00 |2006-01-25 10:44:51 date| | Summary|regression: value computed |[4.1/4.2 Regression] value |not used warning with cast |computed not used warning |return value |with cast return value http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25955