summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-12 22:30:42 -0800
committerYamaArashi <shadow962@live.com>2016-02-12 22:30:42 -0800
commit09f3893dbdbd3010cca49e0440bef81ea5ff8d4c (patch)
treea2e9e1e8b0a3e668b137db0915d85a528d0227e2 /gcc/toplev.c
parentef3a1796662108f019de5d018269abb28250934f (diff)
remove standalone preprocessor
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 83437d6..899c337 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2654,12 +2654,8 @@ compile_file (name)
input_file_stack->name = input_filename;
/* This may set main_input_filename. */
-#if !USE_CPPLIB
- ungetc (check_newline (), finput);
-#else
check_newline ();
yy_cur--;
-#endif
/* If the input doesn't start with a #line, use the input name
as the official input file name. */
@@ -4011,10 +4007,6 @@ display_help ()
unsigned long i;
char * lang;
-#ifndef USE_CPPLIB
- printf ("Usage: %s input [switches]\n", progname);
- printf ("Switches:\n");
-#endif
printf (" -ffixed-<register> Mark <register> as being unavailable to the compiler\n");
printf (" -fcall-used-<register> Mark <register> as being corrupted by function calls\n");
printf (" -fcall-saved-<register> Mark <register> as being preserved across functions\n");
@@ -4303,9 +4295,7 @@ main (argc, argv)
flag_short_enums = DEFAULT_SHORT_ENUMS;
#endif
-#if USE_CPPLIB
cpplib_init();
-#endif
/* Scan to see what optimization level has been specified. That will
determine the default value of many flags. */