Commit 87e690e2 by Mumit Khan Committed by Jeff Law

* gcc.c (convert_filename): Handle null filename argument.

From-SVN: r25115
parent 09ed0f70
Tue Feb 9 16:52:22 1999 Mumit Khan <khan@xraylith.wisc.edu>
* gcc.c (convert_filename): Handle null filename argument.
Wed Feb 10 15:46:10 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
......
......@@ -2393,7 +2393,12 @@ convert_filename (name, do_exe)
int do_exe;
{
int i;
int len = strlen (name);
int len;
if (name == NULL)
return NULL;
len = strlen (name);
#ifdef HAVE_OBJECT_SUFFIX
/* Convert x.o to x.obj if OBJECT_SUFFIX is ".obj". */
......
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