This is the mail archive of the
mailing list for the GCC project.
Re: C++ PATCH: Improve exceptions/inlining compile-time performance
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org, dje at watson dot ibm dot com
- Date: Thu, 1 May 2003 14:28:42 -0400 (EDT)
- Subject: Re: C++ PATCH: Improve exceptions/inlining compile-time performance
> On Sat, Apr 26, 2003 at 05:38:17PM -0700, Mark Mitchell wrote:
> > Exactly as I suggested: your HPUX compiler is not crashing; it is going
> > on to print out more error messages.
> I notice that both of the "passing" platforms, hpux and aix,
> both have the zero page mapped, so that dereferencing NULL
> does not SEGV. (For both OSes this is a feature intended to
> make is safe to hoistg loads past a test vs null during
Yes, we don't currently set the "-z" option when using HP ld.
This arranges for run-time dereferencing of null pointers to
produce a SEGV. This is the default on the 32-bit hpux port.
I don't recall the behavior of GNU ld at the moment.
Now that we check which linker we are using during configuration,
we probably should make producing a SEGV the default.
J. David Anglin email@example.com
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)