This is the mail archive of the gcc@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: 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


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