summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index bec4ccf95c7..fb4dbee6116 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -52,8 +52,7 @@ lang_decode_option (argc, argv)
void
lang_init_options ()
{
- cpp_init ();
- cpp_reader_init (&parse_in, CLK_GNUC89);
+ parse_in = cpp_create_reader (CLK_GNUC89);
/* Mark as "unspecified". */
flag_bounds_check = -1;