Commit fc29d5c4 by Tobias Schluter Committed by François-Xavier Coudert

re PR fortran/21203 (gfortran doesn't work on targets/variants without two floating point types)

	PR fortran/21203
	* error.c (show_loci): No need to risk an ICE to output a
	slightly nicer error message.

From-SVN: r117191
parent 3c4f2df1
2006-09-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/21203
* error.c (show_loci): No need to risk an ICE to output a
slightly nicer error message.
2006-09-19 Paul Thomas <pault@gcc.gnu.org> 2006-09-19 Paul Thomas <pault@gcc.gnu.org>
Steven Bosscher <steven@gcc.gnu.org> Steven Bosscher <steven@gcc.gnu.org>
......
...@@ -199,7 +199,7 @@ show_loci (locus * l1, locus * l2) ...@@ -199,7 +199,7 @@ show_loci (locus * l1, locus * l2)
{ {
int offset, flag, i, m, c1, c2, cmax; int offset, flag, i, m, c1, c2, cmax;
if (l1 == NULL) if (l1 == NULL || l1->lb == NULL)
{ {
error_printf ("<During initialization>\n"); error_printf ("<During initialization>\n");
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment