------- Comment #4 from pzhao at gcc dot gnu dot org  2010-04-01 09:19 -------
Sorry! I have misunderstood this issue before.
Is it to ask for warn at the following test case?

=====================
int foo (int a)
{
  return a;
}
int bar (int c)
{
  if (foo (1), c) // Warn foo(1) don't have obvious side-effects here?
    return 1;
  else
    return 0;
}
===================


-- 

pzhao at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2008-05-29 12:00:46         |2010-04-01 09:19:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36367

Reply via email to