This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/24891] New: Problem with unintitalized global variables.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]