This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Some VRP improvements
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: Diego Novillo <dnovillo at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Jun 2005 08:56:21 -0400
- Subject: Re: Some VRP improvements
- References: <20050602123051.GA22264@topo.toronto.redhat.com> <BEC478C5.A584%schlie@comcast.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jun 02, 2005 at 08:50:13AM -0400, Paul Schlie wrote:
> > From: Diego Novillo <dnovillo@redhat.com>
> >> On Thu, Jun 02, 2005 at 08:17:58AM -0400, Paul Schlie wrote:
> >
> >> many of the VRP test cases involving pointers should not correspondingly
> >> presume the presence of this optimization by default?
> >>
> > They do. -fdelete-null-pointer-checks is enabled by default at -O2.
>
> - But what will occur when -fdelete-null-pointer-checks is properly target
> specifically enabled?
A conforming ISO C program must not dereference null pointers (as no object
nor function may be present at that address), so I don't see why this ought
to be target specific.
Jakub