summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-opts.c')
-rw-r--r--gcc/c-family/c-opts.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c
index 46f6c780ea6..3d70136ee0e 100644
--- a/gcc/c-family/c-opts.c
+++ b/gcc/c-family/c-opts.c
@@ -1057,31 +1057,10 @@ c_common_init (void)
/* Initialize the integrated preprocessor after debug output has been
initialized; loop over each input file. */
void
-c_common_parse_file (int set_yydebug)
+c_common_parse_file (void)
{
unsigned int i;
- if (set_yydebug)
- switch (c_language)
- {
- case clk_c:
- warning(0, "the C parser does not support -dy, option ignored");
- break;
- case clk_objc:
- warning(0,
- "the Objective-C parser does not support -dy, option ignored");
- break;
- case clk_cxx:
- warning(0, "the C++ parser does not support -dy, option ignored");
- break;
- case clk_objcxx:
- warning(0,
- "the Objective-C++ parser does not support -dy, option ignored");
- break;
- default:
- gcc_unreachable ();
- }
-
i = 0;
for (;;)
{