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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
      Known to work|                            |4.9.4
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=66548
            Summary|invalid typeof reference to |[7/8/9 Regression] invalid
                   |a member of an incomplete   |typeof reference to a
                   |struct accepted at function |member of an incomplete
                   |scope                       |struct accepted at function
                   |                            |scope
      Known to fail|                            |5.1.0, 6.4.0, 7.3.0, 8.2.0,
                   |                            |9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The full test case is:

struct Meow;

void f ()
{
  __typeof__ (Meow.purr) d;
}


Bisection points to r213952 (gcc 4.10.0):
------------------------------------------------------------------------
r213952 | paolo | 2014-08-14 05:15:11 -0400 (Thu, 14 Aug 2014) | 34 lines

/gcc/cp
2014-08-14  Paolo Carlini  <paolo.carl...@oracle.com>

        * parser.c (cp_parser_init_declarator): Remove redundant check of
        decl_specifiers->type.

Reply via email to