Missing debug information for decls in empty blocks
Nicolas Setton
setton@act-europe.fr
Thu Aug 5 15:19:00 GMT 2004
Hello,
In the context of examining the state of debug information generation with GCC
3.4 and GCC 3.5, we found that nothing is generated for "foo" and "my_struct"
in a construct like:
int main (void)
{
{
typedef struct {int x;} my_struct;
my_struct foo;
}
}
Is this expected and/or intended ? This is new compared to e.g. GCC 3.2.
I can see how this happens, and so would be happy to open a PR and post a more
detailed analysis as well as a tentative patch if this is considered a bug.
Many thanks in advance for your help,
Nico
More information about the Gcc
mailing list