2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-20 05:50:28 +08:00

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
This commit is contained in:
Tobias Schluter 2006-09-25 09:19:36 +00:00 committed by François-Xavier Coudert
parent 3c4f2df1c6
commit fc29d5c4e8
2 changed files with 7 additions and 1 deletions
gcc/fortran

@ -1,3 +1,9 @@
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>
Steven Bosscher <steven@gcc.gnu.org>

@ -199,7 +199,7 @@ show_loci (locus * l1, locus * l2)
{
int offset, flag, i, m, c1, c2, cmax;
if (l1 == NULL)
if (l1 == NULL || l1->lb == NULL)
{
error_printf ("<During initialization>\n");
return;