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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |6.3.0, 7.0
         Resolution|---                         |FIXED
      Known to fail|                            |3.1, 5.3.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
This appears to work as expected in GCC 6 and 7 (though not in 5).  Resolving
as fixed.

$ cat t.C && gcc -c -fdump-translation-unit=/dev/stdout t.C | grep "[XY]"
void f ()
{
  struct X { };
}

void g ()
{
  int i;
  struct Y { };
}
@38     identifier_node  strg: X        lngt: 1       
@43     identifier_node  strg: Y        lngt: 1

Reply via email to