public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* cse.c typo fix
@ 2019-05-22 11:47 Prathamesh Kulkarni
  2019-05-22 11:52 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Prathamesh Kulkarni @ 2019-05-22 11:47 UTC (permalink / raw)
  To: gcc Patches

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

Hi,
The attached patch fixes a typo in cse_dump_path, which I came across
while debugging another issue. OK to commit ?

Thanks,
Prathamesh

[-- Attachment #2: cse-typo.txt --]
[-- Type: text/plain, Size: 562 bytes --]

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

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

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);
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cse.c typo fix
  2019-05-22 11:47 cse.c typo fix Prathamesh Kulkarni
@ 2019-05-22 11:52 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2019-05-22 11:52 UTC (permalink / raw)
  To: Prathamesh Kulkarni, gcc Patches

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-22 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 11:47 cse.c typo fix Prathamesh Kulkarni
2019-05-22 11:52 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).