This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Weird pointer declaration bug
- To: Karl-Max Wagner <karlmax at oberland dot net>
- Subject: Re: Weird pointer declaration bug
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 27 Aug 2000 19:39:33 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200008272217.WAA00508@schreyer.oberland.net>
On Aug 27, 2000, Karl-Max Wagner <karlmax@oberland.net> wrote:
> I recently had weird behaviour in a medium C project and finally
> found out that pointer variables declared in a function are not
> correctly allocated memory space.
Just the way the C Standard says it should be. You must allocate
space explicitly, or not declare the variables as pointers.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me