https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88718

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-01-08
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.1.3, 4.3.5, 4.4.7, 4.8.5,
                   |                            |4.9.4, 5.4.0, 6.4.0, 7.3.0,
                   |                            |8.2.0, 9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The first test case was never diagnosed.  Suppressing the error for
the second test case would be easy but I agree that we want it in both cases so
that the following is diagnosed as well as I think it should be:

  static int x;

  inline int f (int (*p)[sizeof x])
  {
    return sizeof *p;
  }

Reply via email to