This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What does "internal error #20000524"?
On Tue, Jan 22, 2002 at 04:53:40PM -0800, Zack Weinberg wrote:
> On Tue, Jan 22, 2002 at 06:02:06PM -0500, Craig Rodrigues wrote:
> >
> > SDL_gui.cc:212: internal error #20000524
> > SDL_gui.cc:212: Internal compiler error in add_substitution, at cp/mangle.c:364
> >
> > What is the significance of the error #20000524?
>
> Two things. First, as Andrea Bocci guessed, it does indeed indicate
> the date 2000-05-24; that is when that sanity check was added to the
> compiler.
>
> Second, we didn't used to have the second line helpfully pointing out
>
> ...in add_substitution, at cp/mangle.c:364
>
> so it would give you something to grep for. These days, you can just
> go straight to line 364 of cp/mangle.c.
In the C++ part of gcc, these "error #xxxx" are the result of a
my_friendly_abort() macro defined in cp/cp-tree.h.
What do we gain by using the my_friendly_abort() macro vs. doing
just a plain abort() and getting the same "Internal compiler error"
messages in the C part of gcc?
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net