aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-01-26 09:46:32 +0000
committerIain Sandoe <iain@sandoe.co.uk>2023-01-26 16:29:35 +0000
commit6dd4578f4779b27b2115d78226ff7df46c939061 (patch)
tree79a8bec551ccaf235c3c7b3e7e9d3b0eccd248b6 /gcc
parent09176201ec6a21c25b1edb07f19f83be22a123f9 (diff)
downloadgcc-6dd4578f4779b27b2115d78226ff7df46c939061.zip
gcc-6dd4578f4779b27b2115d78226ff7df46c939061.tar.gz
gcc-6dd4578f4779b27b2115d78226ff7df46c939061.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/m2/gm2-lang.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/m2/gm2-lang.cc b/gcc/m2/gm2-lang.cc
index 4d9cae2..a30e626 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)