This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Crash in garbage collector
- From: "Jon Beniston" <jbeniston at compxs dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 20 Nov 2003 18:24:49 -0000
- Subject: Crash in garbage collector
- Organization: CompXs
- Reply-to: <jbeniston at compxs dot com>
Hi all,
I have been working on a port of GCC to a new architecture, which for
the most part is compiling reasonably well. However, for a few files, I
am seeing crashes in the garbage collector. The first time I had this
problem, it disappeared when I changed:
label = gen_rtx (LABEL_REF, VOIDmode, operands[0]);
To
label = gen_rtx_LABEL_REF (VOIDmode, operands[0]);
in one of my machine specific source files. Can anyone explain how this
might have effected things? Unfortunatly, this didn't fix all of the
crashes I was seeing, and I have no more calls to gen_rtx. I have tried
configuring with --enable-checking, but this hasn't shed any light on
the subject so far.
What are the typical porting errors that can cause this kind of failure
(if there is such a thing)?
Incidentally, this happens on both Linux and Cygwin. My port is based on
the gcc-3.3.2 release.
Cheers,
JonB