[Bug c/78359] Redeclaration of global variables is not reported

2016-11-14 Thread robert.kollataj at ac dot com.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78359 --- Comment #2 from hugo74 --- (In reply to Andrew Pinski from comment #1) > Because > int Counter > > in the global scope is consider a tentative definition. What is meant by "tentative declaration" ? It is very misleading. It should not work

[Bug c/78359] New: Redeclaration of global variables is not reported

2016-11-14 Thread robert.kollataj at ac dot com.pl
: c Assignee: unassigned at gcc dot gnu.org Reporter: robert.kollataj at ac dot com.pl Target Milestone: --- The problem concerns GCC compiler for embedded v. 5.2.0. (pure C language) The compiler does not report redeclaration of global variables. The following example shows