[Bug c/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 16 18:36:00 GMT 2005



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



More information about the Gcc-bugs mailing list