public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [GSoC][match-and-simplify] remove unnecessary debug information
@ 2014-07-22 23:33 Prathamesh Kulkarni
  2014-07-23  9:20 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Prathamesh Kulkarni @ 2014-07-22 23:33 UTC (permalink / raw)
  To: Richard Biener, Diego Novillo, gcc-patches, Maxim Kuvyrkov

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

I was displaying pattern = <number> for debugging some issue related to
implementing for-pattern, not meant for dumping with -v
Removed accordingly.

* genmatch.c (main): Remove unnecessary debug information.

Thanks and Regards,
Prathamesh

[-- Attachment #2: foo.patch --]
[-- Type: text/x-patch, Size: 614 bytes --]

Index: genmatch.c
===================================================================
--- genmatch.c	(revision 212558)
+++ genmatch.c	(working copy)
@@ -2147,11 +2147,8 @@ main(int argc, char **argv)
     parse_pattern (r, simplifiers);
 
   for (unsigned i = 0; i < simplifiers.length (); ++i)
-    {
-      if (verbose)
-	fprintf (stderr, "pattern = %u\n", i);
-      check_no_user_id (simplifiers[i]);
-    }
+    check_no_user_id (simplifiers[i]);
+  
   vec<simplify *> out_simplifiers = vNULL;
   for (unsigned i = 0; i < simplifiers.length (); ++i)
     lower_commutative (simplifiers[i], out_simplifiers);

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

* Re: [GSoC][match-and-simplify] remove unnecessary debug information
  2014-07-22 23:33 [GSoC][match-and-simplify] remove unnecessary debug information Prathamesh Kulkarni
@ 2014-07-23  9:20 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2014-07-23  9:20 UTC (permalink / raw)
  To: Prathamesh Kulkarni; +Cc: Diego Novillo, gcc-patches, Maxim Kuvyrkov

On Wed, Jul 23, 2014 at 12:27 AM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> I was displaying pattern = <number> for debugging some issue related to
> implementing for-pattern, not meant for dumping with -v
> Removed accordingly.
>
> * genmatch.c (main): Remove unnecessary debug information.

Thanks - installed.

Richard.

> Thanks and Regards,
> Prathamesh

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

end of thread, other threads:[~2014-07-23  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 23:33 [GSoC][match-and-simplify] remove unnecessary debug information Prathamesh Kulkarni
2014-07-23  9:20 ` Richard Biener

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).