This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 18:36:47 -0000
- Subject: [Bug c/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1
- References: <bug-24900-4603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-16 18:36 -------
Reduces down to:
int f(void);
void g(void)
{
(unsigned) f();
}
The typeof gets changed over to unsigned.
Maybe this is not a bug after all. Can someone else comment on this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900