This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/32234] Default pointer initialization not occuring - due to the use of <>
- From: "baldrick at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2007 18:35:33 -0000
- Subject: [Bug ada/32234] Default pointer initialization not occuring - due to the use of <>
- References: <bug-32234-13647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from baldrick at gcc dot gnu dot org 2007-06-06 18:35 -------
> Why shouldn't it happen in a small program?
It can cause a segfault also in small programs.
However, memory areas often start out containing
all zeros, so until the program has dirtied a bunch
of memory uninitialized variables tend to contain
zero by accident.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32234