cse.c typo fix

Message ID CAAgBjMmJL-NsGAuKAtt2snZRivR4kMzG95nfPt+45pu5WkiMBA@mail.gmail.com
State New
Headers show
Series
  • cse.c typo fix
Related show

Commit Message

Prathamesh Kulkarni May 22, 2019, 11:46 a.m.
Hi,
The attached patch fixes a typo in cse_dump_path, which I came across
while debugging another issue. OK to commit ?

Thanks,
Prathamesh
2019-05-22  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

	* cse.c (cse_dump_path): s/dump_file/f.

Comments

Jeff Law May 22, 2019, 11:52 a.m. | #1
On 5/22/19 5:46 AM, Prathamesh Kulkarni wrote:
> Hi,

> The attached patch fixes a typo in cse_dump_path, which I came across

> while debugging another issue. OK to commit ?

OK
jeff

Patch

diff --git a/gcc/cse.c b/gcc/cse.c
index 6c9cda16a98..35840a6d5ca 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -6512,7 +6512,7 @@  cse_dump_path (struct cse_basic_block_data *data, int nsets, FILE *f)
   fprintf (f, ";; Following path with %d sets: ", nsets);
   for (path_entry = 0; path_entry < data->path_size; path_entry++)
     fprintf (f, "%d ", (data->path[path_entry].bb)->index);
-  fputc ('\n', dump_file);
+  fputc ('\n', f);
   fflush (f);
 }