This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/26797] [4.3 regression] ACATS cxh1001 fails
- From: "baldrick at free dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2007 23:41:38 -0000
- Subject: [Bug ada/26797] [4.3 regression] ACATS cxh1001 fails
- References: <bug-26797-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #40 from baldrick at free dot fr 2007-03-09 23:41 -------
Subject: Re: [4.3 regression] ACATS cxh1001 fails
On Saturday 10 March 2007 00:13:27 kenner at vlsi1 dot ultra dot nyu dot edu
wrote:
>
> ------- Comment #39 from kenner at vlsi1 dot ultra dot nyu dot edu 2007-03-09 23:13 -------
> Subject: Re: [4.3 regression] ACATS cxh1001 fails
>
> > I don't see that pointer dereferences are a problem - I'm pretty sure that
> > the RM places you firmly in the erroneous zone if you do something that can
> > give a pointer a bogus value.
>
> No. Referencing an uninitialized variable is a bounded error, not
> erroneous. That fact is basically what causes most of this trouble ...
It is not possible for a pointer value to be uninitialized. The language
requires all pointers to be default initialized to null.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26797