This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE while bootstrapping trunk on hppa2.0w-hp-hpux11.00
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: r dot emrich at de dot tecosim dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 15 Nov 2006 13:38:01 -0800 (PST)
- Subject: Re: ICE while bootstrapping trunk on hppa2.0w-hp-hpux11.00
| /raid/tecosim/it/devel/projects/develtools/src/gcc-4.3.0/gcc/libgcc2.c:1970:
| internal compiler error: Segmentation fault
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I am seeing this too. I tracked it back to line 5613 of
tree-ssa-loop-ivopts.c (rewrite_use_compare). There is
a line:
bound = cp->value;
and cp is null. cp is set with a call to get_use_iv_cost and that
routine does return NULL in some cases so I think we need to check
for a NULL cp before dereferencing it. I changed
if (bound)
to
if (cp && cp->value)
and set bound inside the if but now I am dying when compiling
decNumber.c so I don't have a bootstrap working yet.
Steve Ellcey
sje@cup.hp.com