Commit afb58288 by Zack Weinberg Committed by Zack Weinberg

cppinit.c (merge_include_chains): Check for brack being NULL before attempting…

cppinit.c (merge_include_chains): Check for brack being NULL before attempting to merge it with qtail.

	* cppinit.c (merge_include_chains): Check for brack being
	NULL before attempting to merge it with qtail.

From-SVN: r49814
parent d2af4dbd
2002-02-16 Zack Weinberg <zack@codesourcery.com>
* cppinit.c (merge_include_chains): Check for brack being
NULL before attempting to merge it with qtail.
2002-02-16 Andrew Cagney <ac131313@redhat.com>
* config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
......
......@@ -376,7 +376,8 @@ merge_include_chains (pfile)
qtail->next = brack;
/* If brack == qtail, remove brack as it's simpler. */
if (INO_T_EQ (qtail->ino, brack->ino) && qtail->dev == brack->dev)
if (brack && INO_T_EQ (qtail->ino, brack->ino)
&& qtail->dev == brack->dev)
brack = remove_dup_dir (pfile, qtail);
}
else
......
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