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

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
There can't be any debug info issues specific to empty translation units, 
given that

_Static_assert (1, "");

is valid as a translation unit in ISO C, and doesn't declare anything that 
would get debug info.

As an extension the support for empty translation units should be 
documented, but it would be entirely inappropriate to warn about them by 
default (it's perfectly natural to have an empty translation unit if e.g. 
it has preprocessor conditionals and is only empty under some conditions).

Reply via email to