This is the mail archive of the 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] Fix memory overflow in mainline (take 2)

On Tue, 18 Feb 2003, Gerald Pfeifer wrote:
> On Mon, 17 Feb 2003, Roger Sayle wrote:
> > 2003-02-17  Roger Sayle  <>
> >
> > 	* sbitmap.c (sbitmap_resize): New function.
> > 	* sbitmap.h (sbitmap_resize): Prototype here.
> > 	* recog.c (split_all_insns): Use sbitmap_resize.
> This does not solve the bootstrap comparison error I'm seeing on
> i386-unknown-freebsd4.7
> Or do we now have _two_ different breakages in our tree? :-(

Hi Jerry,

Yep, we have two different breakages.  This patch was originally
developed to solve the building StrictMath.lo segmentation fault.

However, yesterday morning Jan applied a patch as "obvious" that
alleviates the failure yesterday morning.  Unfortunately, his change
is still unsafe (reading beyond allocated memory) but we no longer
segmentation fault during a Linux bootstrap.  Hence this memory
overrun still needs to be fixed, lest it bite another platform or
when compiling user code.

I haven't seen the bootstrap comparison failures you're seeing on
i386-unknown-freebsd4.7, on either i686-pc-linux-gnu or i686-pc-cygwin.
Can you determine whether its i386 specific or caused by FreeBSD's
tool chain?


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