[Bug c/91046] missing warning about empty translation unit

2020-01-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91046 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/91046] missing warning about empty translation unit

2019-08-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91046 --- Comment #3 from 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

[Bug c/91046] missing warning about empty translation unit

2019-07-01 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91046 --- Comment #2 from Vincent Lefèvre --- It warns with -pedantic, but not without. This is an issue if this is not guaranteed to "work" with GCC (now or in the future). Indeed, the case of an empty translation unit may need additional code. For

[Bug c/91046] missing warning about empty translation unit

2019-07-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91046 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---