public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-5398] Modula-2: Remove debug code [PR108553].
Date: Thu, 26 Jan 2023 16:30:16 +0000 (GMT)	[thread overview]
Message-ID: <20230126163016.2ADC93858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:6dd4578f4779b27b2115d78226ff7df46c939061

commit r13-5398-g6dd4578f4779b27b2115d78226ff7df46c939061
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Jan 26 09:46:32 2023 +0000

    Modula-2: Remove debug code [PR108553].
    
    Remove debugging code accidentally left in place in r13-5373-g80cf2c5e8f496b.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
            PR modula2/108553
    
    gcc/m2/ChangeLog:
    
            * gm2-lang.cc (gm2_langhook_init_options): Remove debug code.

Diff:
---
 gcc/m2/gm2-lang.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gcc/m2/gm2-lang.cc b/gcc/m2/gm2-lang.cc
index 4d9cae205a7..a30e626620c 100644
--- a/gcc/m2/gm2-lang.cc
+++ b/gcc/m2/gm2-lang.cc
@@ -290,12 +290,9 @@ gm2_langhook_init_options (unsigned int decoded_options_count,
 	  M2Options_SetVerbose (value);
 	  /* FALLTHROUGH */
 	default:
+	  /* We handled input files above.  */
 	  if (code >= N_OPTS)
-	    {
-	      // FIXME remove debug.
-	      fprintf(stderr, "%s : %s\n", opt, (arg ? arg : ""));
-	      break;
-	    }
+	    break;
 	  /* Do not pass Modula-2 args to the preprocessor, any that we care
 	     about here should already have been handled above.  */
 	  if (option->flags & CL_ModulaX2)

                 reply	other threads:[~2023-01-26 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230126163016.2ADC93858D28@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).