From: Jeffrey Oldham Date: Tue, 27 Feb 2001 01:26:26 +0000 (+0000) Subject: mips.c (mips_make_temp_file): Fix thinko in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bb3dc7766c027a46f0345c4f9c291b42178a903;p=gcc.git mips.c (mips_make_temp_file): Fix thinko in last change. 2001-02-26 Jeffrey Oldham * mips.c (mips_make_temp_file): Fix thinko in last change. From-SVN: r40078 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7a50fd78e7..58d15b49a5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-26 Jeffrey Oldham + + * mips.c (mips_make_temp_file): Fix thinko in last change. + 2001-02-26 Jason Eckhardt * combine.c (known_cond): Do not reverse the condition when diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2cc0ccbbb9f..8467c88d940 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5790,7 +5790,7 @@ mips_make_temp_file () FILE *stream; temp_filename = make_temp_file (0); - stream = fopen (filename, "w+"); + stream = fopen (temp_filename, "w+"); if (!stream) fatal_io_error ("can't open %s", temp_filename); return stream;