This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25955] [4.1/4.2 Regression] value computed not used warning with cast return value
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2006 10:44:51 -0000
- Subject: [Bug c/25955] [4.1/4.2 Regression] value computed not used warning with cast return value
- References: <bug-25955-11334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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