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: PATCH RFA: Minor cleanups to gt_pch_restore()


> From: Ian Lance Taylor <ian@wasabisystems.com>
> Date: 04 Mar 2004 18:47:39 -0500

> This patch is some minor cleanups to gt_pch_restore().  The only
> non-obvious change is replacing sorry() with fatal_error() if we have
> to relocate the PCH file.  In this case, in my experience, the
> compiler is headed straight for a segmentation violation; I don't see
> much point in letting it continue.
> 
> OK for mainline?
> 
> Ian
> 
> 
> 2004-03-04  Ian Lance Taylor  <ian@wasabisystems.com>
> 
> 	* ggc-common.c (gt_pch_restore): Don't unmap addr unless we are
> 	going to call mmap again.  Read the file into the right place.
> 	Give a fatal error if we have to relocate.

This is OK.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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