[Bug c++/8182] [-fdump-translation-unit] gcc 3.1 not generating node for function-local type
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 28 01:02:00 GMT 2017
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
More information about the Gcc-bugs
mailing list