* gcc.c (convert_filename): Handle null filename argument.
From-SVN: r25115
This commit is contained in:
parent
09ed0f70df
commit
87e690e264
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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". */
|
||||
|
|
Loading…
Add table
Reference in a new issue