[Bug c/110453] gcc accepts redefinition of global variable without initializer

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110453 --- Comment #2 from Andrew Pinski --- This is called a tentative declaration. A simplified definition of this can be found at https://en.cppreference.com/w/c/language/extern (with the references to the C standard on the bottom of the page).

[Bug c/110453] gcc accepts redefinition of global variable without initializer

2023-06-28 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110453 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---