Allah be praised, I found a fix for the ICEs in gfortran. Also, fixed a bug in the ellpack sort_ja internal routine.