This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24891] New: Problem with unintitalized global variables.
- From: "jatin dot bhateja at amdocs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 14:30:51 -0000
- Subject: [Bug c/24891] New: Problem with unintitalized global variables.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Please consider the following program.
int i;
int i;
int main() {
return 1;
}
Compiler does not reports redecleration error for i.
--
Summary: Problem with unintitalized global variables.
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jatin dot bhateja at amdocs dot com
GCC host triplet: gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
GCC target triplet: gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24891