------- Comment #1 from pinskia at gcc dot gnu dot org  2008-05-22 20:00 -------

  if (a == 0)
    return 1;
  else if (a == (void *) 0)

Those two should warn about being address being zero.  "a" decays to a pointer
type and really &a[0].

-- Pinski


-- 


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

Reply via email to