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: [tree-ssa-20020619-branch] current status report on i386-*-freebsd4*


On Wednesday 18 February 2004 00:13, Gerald Pfeifer wrote:
> On Tue, 17 Feb 2004, Loren James Rittle wrote:
> > 2. For reasons I'm still investigating, many libstdc++-v3 execution
> > tests are failing with "terminate called after throwing an instance of
> > 'std::runtime_error' [junk]".  Many reports from the system malloc
> > implementation that "X is already free" are also seen (sometimes
> > without causing the test to fail).  Since that is under my purview, I
> > will take responsibility for fixing it, or posting whatever I find if
> > it escape.
>
> I've also been seeing this for my application!  If you build for i686
> instead of i386, it goes away.

This looks like the compiler miscompiling itself on i386.  When you
create code for i386 or i686 with a compiler bootstrapped for i686,
everything seems to work.  But when you bootstrap for i386 and generate
code for i386 or i686, things break.

I hope to look into this later this week.

Gr.
Steven


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