| /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 [EMAIL PROTECTED]