This is the mail archive of the gcc-patches@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]

Re: Some VRP improvements


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


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