Skip to content
Snippets Groups Projects
Commit 111105d4 authored by fxcoudert's avatar fxcoudert
Browse files

PR fortran/21203

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117191 138bc75d-0d04-0410-961f-82ee72b054a4
parent ef56836d
No related branches found
No related tags found
No related merge requests found
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment